Chromium Code Reviews| Index: content/browser/devtools/forwarding_agent_host.cc |
| diff --git a/content/browser/devtools/forwarding_agent_host.cc b/content/browser/devtools/forwarding_agent_host.cc |
| index db8af96a2b1f5df3a82b20eaade3dea4aaca62d9..98e583280e110332876b21512df73615cbe02461 100644 |
| --- a/content/browser/devtools/forwarding_agent_host.cc |
| +++ b/content/browser/devtools/forwarding_agent_host.cc |
| @@ -40,10 +40,13 @@ void ForwardingAgentHost::Detach() { |
| delegate_->Detach(); |
| } |
| -void ForwardingAgentHost::DispatchProtocolMessage( |
| +bool ForwardingAgentHost::DispatchProtocolMessage( |
| const std::string& message) { |
| - if (delegate_) |
| + if (delegate_) { |
| delegate_->SendMessageToBackend(message); |
| + return true; |
| + } |
| + return false; |
|
pfeldman
2015/03/23 09:59:01
you should always report this command as handled.
Kunihiko Sakamoto
2015/03/23 10:23:58
Done.
|
| } |
| DevToolsAgentHost::Type ForwardingAgentHost::GetType() { |