summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-30 00:42:26 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-30 00:42:26 +0000
commitd7bc57866799bd2e3577f81afbb4470f4e82d355 (patch)
tree2d8d9df2bb07da48cf7d5e65a132e131d7c660d4 /chrome
parentd4515eb94ad33ac2ab9bfd1094c8e1edd1eefa1b (diff)
downloadchromium_src-d7bc57866799bd2e3577f81afbb4470f4e82d355.zip
chromium_src-d7bc57866799bd2e3577f81afbb4470f4e82d355.tar.gz
chromium_src-d7bc57866799bd2e3577f81afbb4470f4e82d355.tar.bz2
Rename Debugger to DebuggerBridge to make the mac compiler happy.
Review URL: http://codereview.chromium.org/19487 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8936 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/renderer/debug_message_handler.cc8
-rw-r--r--chrome/renderer/debug_message_handler.h6
2 files changed, 8 insertions, 6 deletions
diff --git a/chrome/renderer/debug_message_handler.cc b/chrome/renderer/debug_message_handler.cc
index 27c5885..78ba519 100644
--- a/chrome/renderer/debug_message_handler.cc
+++ b/chrome/renderer/debug_message_handler.cc
@@ -8,8 +8,10 @@
////////////////////////////////////////
// methods called from the RenderThread
-DebugMessageHandler::DebugMessageHandler(RenderView* view) :
- debugger_(NULL), view_(view), channel_(NULL) {
+DebugMessageHandler::DebugMessageHandler(RenderView* view)
+ : debugger_(NULL),
+ view_(view),
+ channel_(NULL) {
view_loop_ = MessageLoop::current();
view_routing_id_ = view_->routing_id();
}
@@ -54,7 +56,7 @@ void DebugMessageHandler::OnBreak(bool force) {
void DebugMessageHandler::OnAttach() {
if (!debugger_) {
- debugger_ = new Debugger(this);
+ debugger_ = new DebuggerBridge(this);
}
// Run the actual debugger attach in the renderer as it uses V8 methods which
diff --git a/chrome/renderer/debug_message_handler.h b/chrome/renderer/debug_message_handler.h
index 9720ef1..76abd60 100644
--- a/chrome/renderer/debug_message_handler.h
+++ b/chrome/renderer/debug_message_handler.h
@@ -10,12 +10,12 @@
#define CHROME_RENDERER_DEBUG_MESSAGE_HANDLER_H_
#include "chrome/common/ipc_channel_proxy.h"
-#include "webkit/glue/debugger.h"
+#include "webkit/glue/debugger_bridge.h"
class RenderView;
class DebugMessageHandler : public IPC::ChannelProxy::MessageFilter,
- public Debugger::Delegate {
+ public DebuggerBridge::Delegate {
public:
DebugMessageHandler(RenderView* view);
virtual ~DebugMessageHandler();
@@ -49,7 +49,7 @@ class DebugMessageHandler : public IPC::ChannelProxy::MessageFilter,
// the message be handled in the default way.
virtual bool OnMessageReceived(const IPC::Message& message);
- scoped_refptr<Debugger> debugger_;
+ scoped_refptr<DebuggerBridge> debugger_;
// Don't ever dereference view_ directly from another thread as it's not
// threadsafe, instead proxy locally via its MessageLoop.