diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-17 00:51:35 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-17 00:51:35 +0000 |
commit | a862471b184f63a6f39c854e3abe4c26fb1edd1c (patch) | |
tree | 15cb15bed9476f80cb7a7b2034e1539d38417055 /webkit/glue/webdevtoolsagent_impl.cc | |
parent | 220d7100e2095b875c401e32c3aab2830d4405e0 (diff) | |
download | chromium_src-a862471b184f63a6f39c854e3abe4c26fb1edd1c.zip chromium_src-a862471b184f63a6f39c854e3abe4c26fb1edd1c.tar.gz chromium_src-a862471b184f63a6f39c854e3abe4c26fb1edd1c.tar.bz2 |
DevTools: Make all devtools messages dispatch through debugger interrupt.
Review URL: http://codereview.chromium.org/73002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13910 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webdevtoolsagent_impl.cc')
-rw-r--r-- | webkit/glue/webdevtoolsagent_impl.cc | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/webkit/glue/webdevtoolsagent_impl.cc b/webkit/glue/webdevtoolsagent_impl.cc index 5602f45..11c64764 100644 --- a/webkit/glue/webdevtoolsagent_impl.cc +++ b/webkit/glue/webdevtoolsagent_impl.cc @@ -41,7 +41,8 @@ static const size_t kMaxConsoleMessages = 200; WebDevToolsAgentImpl::WebDevToolsAgentImpl( WebViewImpl* web_view_impl, WebDevToolsAgentDelegate* delegate) - : delegate_(delegate), + : host_id_(delegate->GetHostId()), + delegate_(delegate), web_view_impl_(web_view_impl), document_(NULL), attached_(false) { @@ -246,6 +247,11 @@ void WebDevToolsAgentImpl::SendRpcMessage(const std::string& raw_msg) { // static void WebDevToolsAgent::ExecuteDebuggerCommand( const std::string& command, - WebDevToolsAgent* webdevtools_agent) { - DebuggerAgentManager::ExecuteDebuggerCommand(command, webdevtools_agent); + int caller_id) { + DebuggerAgentManager::ExecuteDebuggerCommand(command, caller_id); +} + +// static +void WebDevToolsAgent::ScheduleMessageDispatch(Message* message) { + DebuggerAgentManager::ScheduleMessageDispatch(message); } |