OLD | NEW |
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 CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_PROTOCOL_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_PROTOCOL_HANDLER_H_ |
6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_PROTOCOL_HANDLER_H_ | 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_PROTOCOL_HANDLER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "chrome/browser/devtools/devtools_protocol.h" | 12 #include "chrome/browser/devtools/devtools_protocol.h" |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 class DevToolsAgentHost; | 15 class DevToolsAgentHost; |
16 } | 16 } |
17 | 17 |
18 class DevToolsNetworkConditions; | 18 class DevToolsNetworkConditions; |
19 class Profile; | |
20 | 19 |
21 class DevToolsNetworkProtocolHandler { | 20 class DevToolsNetworkProtocolHandler { |
22 public: | 21 public: |
23 DevToolsNetworkProtocolHandler(); | 22 DevToolsNetworkProtocolHandler(); |
24 ~DevToolsNetworkProtocolHandler(); | 23 ~DevToolsNetworkProtocolHandler(); |
25 | 24 |
26 void DevToolsAgentStateChanged(content::DevToolsAgentHost* agent_host, | 25 void DevToolsAgentStateChanged(content::DevToolsAgentHost* agent_host, |
27 bool attached); | 26 bool attached); |
28 base::DictionaryValue* HandleCommand( | 27 base::DictionaryValue* HandleCommand( |
29 content::DevToolsAgentHost* agent_host, | 28 content::DevToolsAgentHost* agent_host, |
(...skipping 11 matching lines...) Expand all Loading... |
41 base::DictionaryValue* params); | 40 base::DictionaryValue* params); |
42 | 41 |
43 void UpdateNetworkState( | 42 void UpdateNetworkState( |
44 content::DevToolsAgentHost* agent_host, | 43 content::DevToolsAgentHost* agent_host, |
45 std::unique_ptr<DevToolsNetworkConditions> conditions); | 44 std::unique_ptr<DevToolsNetworkConditions> conditions); |
46 | 45 |
47 DISALLOW_COPY_AND_ASSIGN(DevToolsNetworkProtocolHandler); | 46 DISALLOW_COPY_AND_ASSIGN(DevToolsNetworkProtocolHandler); |
48 }; | 47 }; |
49 | 48 |
50 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_PROTOCOL_HANDLER_H_ | 49 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_PROTOCOL_HANDLER_H_ |
OLD | NEW |