| 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
|
| deleted file mode 100644
|
| index 1ca886109863d209fbc3f306c0e2f1238f13f238..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/extensions/extension_debugger_api.h
|
| +++ /dev/null
|
| @@ -1,84 +0,0 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -// Defines the Chrome Extensions Debugger API functions for attaching debugger
|
| -// to the page.
|
| -
|
| -#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DEBUGGER_API_H_
|
| -#define CHROME_BROWSER_EXTENSIONS_EXTENSION_DEBUGGER_API_H_
|
| -#pragma once
|
| -
|
| -#include <string>
|
| -
|
| -#include "chrome/browser/extensions/extension_function.h"
|
| -
|
| -// Base debugger function.
|
| -
|
| -class ExtensionDevToolsClientHost;
|
| -
|
| -namespace base {
|
| -class DictionaryValue;
|
| -}
|
| -
|
| -namespace content {
|
| -class WebContents;
|
| -}
|
| -
|
| -class DebuggerFunction : public AsyncExtensionFunction {
|
| - protected:
|
| - DebuggerFunction();
|
| - virtual ~DebuggerFunction() {}
|
| -
|
| - bool InitTabContents();
|
| - bool InitClientHost();
|
| -
|
| - content::WebContents* contents_;
|
| - int tab_id_;
|
| - ExtensionDevToolsClientHost* client_host_;
|
| -};
|
| -
|
| -// 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;
|
| -};
|
| -
|
| -// 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;
|
| -};
|
| -
|
| -// 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();
|
| -
|
| - // ExtensionFunction:
|
| - virtual bool RunImpl() OVERRIDE;
|
| -};
|
| -
|
| -#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DEBUGGER_API_H_
|
|
|