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

Side by Side Diff: chrome/browser/extensions/api/debugger/debugger_api.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Defines the Chrome Extensions Debugger API functions for attaching debugger 5 // Defines the Chrome Extensions Debugger API functions for attaching debugger
6 // to the page. 6 // to the page.
7 7
8 #ifndef CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_H_ 8 #ifndef CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_H_
9 #define CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_H_ 9 #define CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_H_
10 10
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "chrome/browser/extensions/chrome_extension_function.h" 14 #include "chrome/browser/extensions/chrome_extension_function.h"
15 #include "chrome/common/extensions/api/debugger.h" 15 #include "chrome/common/extensions/api/debugger.h"
16 #include "content/public/browser/devtools_agent_host.h" 16 #include "content/public/browser/devtools_agent_host.h"
17 17
18 using extensions::api::debugger::Debuggee; 18 using extensions::api::debugger::Debuggee;
19 19
20 // Base debugger function. 20 // Base debugger function.
21 21
22 namespace base { 22 namespace base {
23 class DictionaryValue; 23 class DictionaryValue;
24 } 24 }
25 25
26 namespace content {
27 class WebContents;
28 }
29
30 namespace extensions { 26 namespace extensions {
31 class ExtensionDevToolsClientHost; 27 class ExtensionDevToolsClientHost;
32 28
33 class DebuggerFunction : public ChromeAsyncExtensionFunction { 29 class DebuggerFunction : public ChromeAsyncExtensionFunction {
34 protected: 30 protected:
35 DebuggerFunction(); 31 DebuggerFunction();
36 ~DebuggerFunction() override; 32 ~DebuggerFunction() override;
37 33
38 void FormatErrorMessage(const std::string& format); 34 void FormatErrorMessage(const std::string& format);
39 35
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 // ExtensionFunction: 97 // ExtensionFunction:
102 bool RunAsync() override; 98 bool RunAsync() override;
103 99
104 private: 100 private:
105 void SendTargetList(const content::DevToolsAgentHost::List& target_list); 101 void SendTargetList(const content::DevToolsAgentHost::List& target_list);
106 }; 102 };
107 103
108 } // namespace extensions 104 } // namespace extensions
109 105
110 #endif // CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_H_ 106 #endif // CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698