| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/renderer/devtools_agent_filter.h" | 5 #include "chrome/renderer/devtools_agent_filter.h" |
| 6 | 6 |
| 7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
| 8 #include "chrome/common/devtools_messages.h" | |
| 9 #include "chrome/common/render_messages.h" | 8 #include "chrome/common/render_messages.h" |
| 10 #include "chrome/renderer/devtools_agent.h" | 9 #include "chrome/renderer/devtools_agent.h" |
| 10 #include "content/common/devtools_messages.h" |
| 11 #include "content/renderer/plugin_channel_host.h" | 11 #include "content/renderer/plugin_channel_host.h" |
| 12 #include "content/renderer/render_view.h" | 12 #include "content/renderer/render_view.h" |
| 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h" |
| 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" |
| 15 | 15 |
| 16 using WebKit::WebDevToolsAgent; | 16 using WebKit::WebDevToolsAgent; |
| 17 using WebKit::WebString; | 17 using WebKit::WebString; |
| 18 | 18 |
| 19 namespace { | 19 namespace { |
| 20 | 20 |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 message_handled_ = false; | 91 message_handled_ = false; |
| 92 return; | 92 return; |
| 93 } | 93 } |
| 94 WebDevToolsAgent::interruptAndDispatch( | 94 WebDevToolsAgent::interruptAndDispatch( |
| 95 new MessageImpl(message, current_routing_id_)); | 95 new MessageImpl(message, current_routing_id_)); |
| 96 | 96 |
| 97 render_thread_loop_->PostTask( | 97 render_thread_loop_->PostTask( |
| 98 FROM_HERE, | 98 FROM_HERE, |
| 99 NewRunnableFunction(&WebDevToolsAgent::processPendingMessages)); | 99 NewRunnableFunction(&WebDevToolsAgent::processPendingMessages)); |
| 100 } | 100 } |
| OLD | NEW |