OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_DOMAIN_HANDLER_H_ |
| 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_DOMAIN_HANDLER_H_ |
| 7 |
| 8 #include "content/browser/devtools/protocol/forward.h" |
| 9 |
| 10 namespace content { |
| 11 |
| 12 class RenderFrameHostImpl; |
| 13 |
| 14 namespace protocol { |
| 15 |
| 16 class DevToolsDomainHandler { |
| 17 public: |
| 18 explicit DevToolsDomainHandler(const std::string& name); |
| 19 virtual ~DevToolsDomainHandler(); |
| 20 |
| 21 virtual void SetRenderFrameHost(RenderFrameHostImpl* host); |
| 22 virtual void Wire(UberDispatcher* dispatcher); |
| 23 virtual Response Disable(); |
| 24 |
| 25 const std::string& name() const { return name_; } |
| 26 |
| 27 private: |
| 28 std::string name_; |
| 29 |
| 30 DISALLOW_COPY_AND_ASSIGN(DevToolsDomainHandler); |
| 31 }; |
| 32 |
| 33 } // namespace protocol |
| 34 } // namespace content |
| 35 |
| 36 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_DOMAIN_HANDLER_H_ |
OLD | NEW |