| Index: chrome/browser/extensions/extension_debugger_api.h
|
| diff --git a/chrome/browser/extensions/extension_debugger_api.h b/chrome/browser/extensions/extension_debugger_api.h
|
| index 3943bf16779fc42ffaee4e0060d2d5595cc7d18a..82d4392ec117fef9e2588217796aab2ff0690565 100644
|
| --- a/chrome/browser/extensions/extension_debugger_api.h
|
| +++ b/chrome/browser/extensions/extension_debugger_api.h
|
| @@ -41,30 +41,44 @@ class DebuggerFunction : public AsyncExtensionFunction {
|
| // Implements the debugger.attach() extension function.
|
| class AttachDebuggerFunction : public DebuggerFunction {
|
| public:
|
| + DECLARE_EXTENSION_FUNCTION_NAME("debugger.attach")
|
| +
|
| AttachDebuggerFunction();
|
| +
|
| + protected:
|
| virtual ~AttachDebuggerFunction();
|
| +
|
| + // ExtensionFunction:
|
| virtual bool RunImpl() OVERRIDE;
|
| - DECLARE_EXTENSION_FUNCTION_NAME("debugger.attach")
|
| };
|
|
|
| // Implements the debugger.detach() extension function.
|
| class DetachDebuggerFunction : public DebuggerFunction {
|
| public:
|
| + DECLARE_EXTENSION_FUNCTION_NAME("debugger.detach")
|
| +
|
| DetachDebuggerFunction();
|
| +
|
| + protected:
|
| virtual ~DetachDebuggerFunction();
|
| +
|
| + // ExtensionFunction:
|
| virtual bool RunImpl() OVERRIDE;
|
| - DECLARE_EXTENSION_FUNCTION_NAME("debugger.detach")
|
| };
|
|
|
| // Implements the debugger.sendCommand() extension function.
|
| class SendCommandDebuggerFunction : public DebuggerFunction {
|
| public:
|
| + DECLARE_EXTENSION_FUNCTION_NAME("debugger.sendCommand")
|
| +
|
| SendCommandDebuggerFunction();
|
| + void SendResponseBody(base::DictionaryValue* dictionary);
|
| +
|
| + protected:
|
| virtual ~SendCommandDebuggerFunction();
|
| - virtual bool RunImpl() OVERRIDE;
|
|
|
| - void SendResponseBody(base::DictionaryValue* dictionary);
|
| - DECLARE_EXTENSION_FUNCTION_NAME("debugger.sendCommand")
|
| + // ExtensionFunction:
|
| + virtual bool RunImpl() OVERRIDE;
|
| };
|
|
|
| #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DEBUGGER_API_H_
|
|
|