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_CHROME_DEVTOOLS_MANAGER_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_DEVTOOLS_CHROME_DEVTOOLS_MANAGER_DELEGATE_H_ |
6 #define CHROME_BROWSER_DEVTOOLS_CHROME_DEVTOOLS_MANAGER_DELEGATE_H_ | 6 #define CHROME_BROWSER_DEVTOOLS_CHROME_DEVTOOLS_MANAGER_DELEGATE_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "content/public/browser/devtools_manager_delegate.h" | 10 #include "content/public/browser/devtools_manager_delegate.h" |
11 | 11 |
12 class ChromeDevToolsManagerDelegate : public content::DevToolsManagerDelegate { | 12 class ChromeDevToolsManagerDelegate : public content::DevToolsManagerDelegate { |
13 public: | 13 public: |
14 ChromeDevToolsManagerDelegate(); | 14 ChromeDevToolsManagerDelegate(); |
15 virtual ~ChromeDevToolsManagerDelegate(); | 15 virtual ~ChromeDevToolsManagerDelegate(); |
16 | 16 |
17 // content::DevToolsManagerDelegate overrides: | 17 // content::DevToolsManagerDelegate overrides: |
18 virtual void Inspect(content::BrowserContext* browser_context, | 18 virtual void Inspect(content::BrowserContext* browser_context, |
19 content::DevToolsAgentHost* agent_host) OVERRIDE; | 19 content::DevToolsAgentHost* agent_host) OVERRIDE; |
| 20 virtual base::DictionaryValue* HandleCommand( |
| 21 content::DevToolsAgentHost* agent_host, |
| 22 base::DictionaryValue* command_dict) OVERRIDE; |
20 | 23 |
21 private: | 24 private: |
22 DISALLOW_COPY_AND_ASSIGN(ChromeDevToolsManagerDelegate); | 25 DISALLOW_COPY_AND_ASSIGN(ChromeDevToolsManagerDelegate); |
23 }; | 26 }; |
24 | 27 |
25 #endif // CHROME_BROWSER_DEVTOOLS_CHROME_DEVTOOLS_MANAGER_DELEGATE_H_ | 28 #endif // CHROME_BROWSER_DEVTOOLS_CHROME_DEVTOOLS_MANAGER_DELEGATE_H_ |
OLD | NEW |