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

Side by Side Diff: chrome/browser/extensions/extension_debugger_api.h

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_EXTENSION_DEBUGGER_API_H_ 8 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DEBUGGER_API_H_
9 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DEBUGGER_API_H_ 9 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DEBUGGER_API_H_
10 #pragma once 10 #pragma once
11 11
12 #include <string> 12 #include <string>
13 13
14 #include "chrome/browser/extensions/extension_function.h" 14 #include "chrome/browser/extensions/extension_function.h"
15 15
16 // Base debugger function. 16 // Base debugger function.
17 17
18 class DictionaryValue;
19 class ExtensionDevToolsClientHost; 18 class ExtensionDevToolsClientHost;
20 class TabContents; 19 class TabContents;
21 20
21 namespace base {
22 class DictionaryValue;
23 }
24
22 class DebuggerFunction : public AsyncExtensionFunction { 25 class DebuggerFunction : public AsyncExtensionFunction {
23 protected: 26 protected:
24 DebuggerFunction(); 27 DebuggerFunction();
25 virtual ~DebuggerFunction() {} 28 virtual ~DebuggerFunction() {}
26 29
27 bool InitTabContents(int tab_id); 30 bool InitTabContents(int tab_id);
28 bool InitClientHost(int tab_id); 31 bool InitClientHost(int tab_id);
29 32
30 TabContents* contents_; 33 TabContents* contents_;
31 ExtensionDevToolsClientHost* client_host_; 34 ExtensionDevToolsClientHost* client_host_;
(...skipping 17 matching lines...) Expand all
49 DECLARE_EXTENSION_FUNCTION_NAME("experimental.debugger.detach") 52 DECLARE_EXTENSION_FUNCTION_NAME("experimental.debugger.detach")
50 }; 53 };
51 54
52 // Implements the debugger.sendRequest() extension function. 55 // Implements the debugger.sendRequest() extension function.
53 class SendRequestDebuggerFunction : public DebuggerFunction { 56 class SendRequestDebuggerFunction : public DebuggerFunction {
54 public: 57 public:
55 SendRequestDebuggerFunction(); 58 SendRequestDebuggerFunction();
56 virtual ~SendRequestDebuggerFunction(); 59 virtual ~SendRequestDebuggerFunction();
57 virtual bool RunImpl(); 60 virtual bool RunImpl();
58 61
59 void SendResponseBody(DictionaryValue* dictionary); 62 void SendResponseBody(base::DictionaryValue* dictionary);
60 DECLARE_EXTENSION_FUNCTION_NAME("experimental.debugger.sendRequest") 63 DECLARE_EXTENSION_FUNCTION_NAME("experimental.debugger.sendRequest")
61 }; 64 };
62 65
63 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DEBUGGER_API_H_ 66 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DEBUGGER_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_cookies_helpers.h ('k') | chrome/browser/extensions/extension_file_browser_private_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698