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

Side by Side Diff: content/browser/devtools/devtools_protocol_handler.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_PROTOCOL_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_PROTOCOL_HANDLER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_PROTOCOL_HANDLER_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_PROTOCOL_HANDLER_H_
7 7
8 #include "content/browser/devtools/protocol/devtools_protocol_dispatcher.h" 8 #include "content/browser/devtools/protocol/devtools_protocol_dispatcher.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 class DevToolsAgentHost; 12 class DevToolsAgentHost;
13 class DevToolsAgentHostImpl; 13 class DevToolsAgentHostImpl;
14 class DevToolsProtocolDelegate;
15 14
16 class DevToolsProtocolHandler { 15 class DevToolsProtocolHandler {
17 public: 16 public:
18 using Response = DevToolsProtocolClient::Response; 17 using Response = DevToolsProtocolClient::Response;
19 18
20 explicit DevToolsProtocolHandler(DevToolsAgentHostImpl* agent_host); 19 explicit DevToolsProtocolHandler(DevToolsAgentHostImpl* agent_host);
21 virtual ~DevToolsProtocolHandler(); 20 virtual ~DevToolsProtocolHandler();
22 21
23 void HandleMessage(int session_id, const std::string& message); 22 void HandleMessage(int session_id, const std::string& message);
24 bool HandleOptionalMessage(int session_id, 23 bool HandleOptionalMessage(int session_id,
(...skipping 16 matching lines...) Expand all
41 std::string* method); 40 std::string* method);
42 41
43 DevToolsAgentHost* agent_host_; 42 DevToolsAgentHost* agent_host_;
44 DevToolsProtocolClient client_; 43 DevToolsProtocolClient client_;
45 DevToolsProtocolDispatcher dispatcher_; 44 DevToolsProtocolDispatcher dispatcher_;
46 }; 45 };
47 46
48 } // namespace content 47 } // namespace content
49 48
50 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_PROTOCOL_HANDLER_H_ 49 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_PROTOCOL_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/devtools_manager.h ('k') | content/browser/devtools/protocol/input_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698