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

Unified Diff: chrome/browser/debugger/debugger_host.h

Issue 7274031: Wholesale move of debugger sources to content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add OWNERS and DEPS. Created 9 years, 6 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/debugger/debugger_host.h
diff --git a/chrome/browser/debugger/debugger_host.h b/chrome/browser/debugger/debugger_host.h
deleted file mode 100644
index 6177c161262d38a1576a30ca2b665232f2430fd3..0000000000000000000000000000000000000000
--- a/chrome/browser/debugger/debugger_host.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright (c) 2011 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.
-
-// A part of browser-side server debugger exposed to DebuggerWrapper.
-
-#ifndef CHROME_BROWSER_DEBUGGER_DEBUGGER_HOST_H_
-#define CHROME_BROWSER_DEBUGGER_DEBUGGER_HOST_H_
-#pragma once
-
-#include <string>
-
-#include "base/basictypes.h"
-#include "base/memory/ref_counted.h"
-
-class ListValue;
-
-class DebuggerHost : public base::RefCountedThreadSafe<DebuggerHost> {
- public:
- DebuggerHost() {}
- virtual ~DebuggerHost() {}
-
- // call before other methods
- virtual void Start() = 0;
-
- // A message from the V8 debugger in the renderer being debugged via
- // RenderViewHost
- virtual void DebugMessage(const std::wstring& msg) = 0;
- // We've been successfully attached to a renderer.
- virtual void OnDebugAttach() = 0;
- // The renderer we're attached to is gone.
- virtual void OnDebugDisconnect() = 0;
-
- virtual void DidDisconnect() = 0;
- virtual void DidConnect() {}
- virtual void ProcessCommand(const std::wstring& data) {}
-
- // Handles messages from debugger UI.
- virtual void OnDebuggerHostMsg(const ListValue* args) {}
-
- // Shows the debugger UI and returns true if it has any.
- virtual bool ShowWindow() { return false; }
-
- private:
-
- DISALLOW_COPY_AND_ASSIGN(DebuggerHost);
-};
-
-#endif // CHROME_BROWSER_DEBUGGER_DEBUGGER_HOST_H_

Powered by Google App Engine
This is Rietveld 408576698