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

Unified Diff: chrome/browser/extensions/api/debugger/debugger_api.h

Issue 10803043: Refactor chrome.debugger api to use the JSON schema compiler. Also modified the (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Small change Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/debugger/debugger_api.h
diff --git a/chrome/browser/extensions/api/debugger/debugger_api.h b/chrome/browser/extensions/api/debugger/debugger_api.h
index 62d6b65774bff13b449b4febce9d78f945c0e47c..35c7f7c358d77a224c3c8501117138d438b192e2 100644
--- a/chrome/browser/extensions/api/debugger/debugger_api.h
+++ b/chrome/browser/extensions/api/debugger/debugger_api.h
@@ -24,6 +24,18 @@ namespace content {
class WebContents;
}
+namespace extensions {
+namespace api {
+namespace debugger {
+namespace SendCommand {
+namespace Results {
+struct Result;
+}
+}
+}
+}
+}
+
class DebuggerFunction : public AsyncExtensionFunction {
protected:
DebuggerFunction();
@@ -71,7 +83,8 @@ class SendCommandDebuggerFunction : public DebuggerFunction {
DECLARE_EXTENSION_FUNCTION_NAME("debugger.sendCommand")
SendCommandDebuggerFunction();
- void SendResponseBody(base::DictionaryValue* dictionary);
+ void SendResponseBody(
+ const extensions::api::debugger::SendCommand::Results::Result& result);
protected:
virtual ~SendCommandDebuggerFunction();

Powered by Google App Engine
This is Rietveld 408576698