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

Side by Side 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: Delete delete 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 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
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // ExtensionFunction: 64 // ExtensionFunction:
65 virtual bool RunImpl() OVERRIDE; 65 virtual bool RunImpl() OVERRIDE;
66 }; 66 };
67 67
68 // Implements the debugger.sendCommand() extension function. 68 // Implements the debugger.sendCommand() extension function.
69 class SendCommandDebuggerFunction : public DebuggerFunction { 69 class SendCommandDebuggerFunction : public DebuggerFunction {
70 public: 70 public:
71 DECLARE_EXTENSION_FUNCTION_NAME("debugger.sendCommand") 71 DECLARE_EXTENSION_FUNCTION_NAME("debugger.sendCommand")
72 72
73 SendCommandDebuggerFunction(); 73 SendCommandDebuggerFunction();
74 void SendResponseBody(base::DictionaryValue* dictionary); 74 void SendResponseBody(base::DictionaryValue* result);
75 75
76 protected: 76 protected:
77 virtual ~SendCommandDebuggerFunction(); 77 virtual ~SendCommandDebuggerFunction();
78 78
79 // ExtensionFunction: 79 // ExtensionFunction:
80 virtual bool RunImpl() OVERRIDE; 80 virtual bool RunImpl() OVERRIDE;
81 }; 81 };
82 82
83 #endif // CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_H_ 83 #endif // CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698