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

Unified Diff: chrome/browser/extensions/extension_debugger_api.h

Issue 10762006: Moved c/b/e/*debugger* to c/b/e/api/debugger/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Sync with trunk 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/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 74d8c8bf3a5d7c72f70485874783b1839753dbf5..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/extension_debugger_api.h
+++ /dev/null
@@ -1,83 +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_
-
-#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_
« no previous file with comments | « chrome/browser/extensions/api/debugger/debugger_apitest.cc ('k') | chrome/browser/extensions/extension_debugger_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698