| // Copyright 2016 The Chromium Authors | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| #include "content/browser/devtools/protocol/devtools_domain_handler.h" | |
| #include "content/browser/devtools/devtools_agent_host_impl.h" | |
| #include "content/browser/devtools/protocol/protocol.h" | |
| namespace content { | |
| namespace protocol { | |
| DevToolsDomainHandler::DevToolsDomainHandler(const std::string& name) | |
| : name_(name) { | |
| } | |
| DevToolsDomainHandler::~DevToolsDomainHandler() = default; | |
| void DevToolsDomainHandler::SetRenderer(int process_host_id, | |
| RenderFrameHostImpl* frame_host) {} | |
| void DevToolsDomainHandler::Wire(UberDispatcher* dispatcher) { | |
| } | |
| Response DevToolsDomainHandler::Disable() { | |
| return Response::Success(); | |
| } | |
| void DevToolsDomainHandler::SetSession(DevToolsSession* session) { | |
| session_ = session; | |
| } | |
| const std::string& DevToolsDomainHandler::name() const { | |
| return name_; | |
| } | |
| DevToolsSession* DevToolsDomainHandler::session() { | |
| return session_; | |
| } | |
| } // namespace protocol | |
| } // namespace content |