Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Side by Side Diff: content/browser/devtools/protocol/devtools_domain_handler.h

Issue 2590293003: [DevTools] Rework DevToolsSession interaction with domain handlers. (Closed)
Patch Set: addressed comments Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698