| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "content/browser/devtools/browser_devtools_agent_host.h" | 5 #include "content/browser/devtools/browser_devtools_agent_host.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/guid.h" | 8 #include "base/guid.h" |
| 9 #include "content/browser/devtools/devtools_protocol_handler.h" | 9 #include "content/browser/devtools/devtools_protocol_handler.h" |
| 10 #include "content/browser/devtools/protocol/browser_handler.h" | 10 #include "content/browser/devtools/protocol/browser_handler.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 } | 66 } |
| 67 | 67 |
| 68 GURL BrowserDevToolsAgentHost::GetURL() { | 68 GURL BrowserDevToolsAgentHost::GetURL() { |
| 69 return GURL(); | 69 return GURL(); |
| 70 } | 70 } |
| 71 | 71 |
| 72 bool BrowserDevToolsAgentHost::Activate() { | 72 bool BrowserDevToolsAgentHost::Activate() { |
| 73 return false; | 73 return false; |
| 74 } | 74 } |
| 75 | 75 |
| 76 bool BrowserDevToolsAgentHost::Inspect() { | |
| 77 return false; | |
| 78 } | |
| 79 | |
| 80 bool BrowserDevToolsAgentHost::Close() { | 76 bool BrowserDevToolsAgentHost::Close() { |
| 81 return false; | 77 return false; |
| 82 } | 78 } |
| 83 | 79 |
| 84 void BrowserDevToolsAgentHost::Reload() { | 80 void BrowserDevToolsAgentHost::Reload() { |
| 85 } | 81 } |
| 86 | 82 |
| 87 bool BrowserDevToolsAgentHost::DispatchProtocolMessage( | 83 bool BrowserDevToolsAgentHost::DispatchProtocolMessage( |
| 88 const std::string& message) { | 84 const std::string& message) { |
| 89 protocol_handler_->HandleMessage(session_id(), message); | 85 protocol_handler_->HandleMessage(session_id(), message); |
| 90 return true; | 86 return true; |
| 91 } | 87 } |
| 92 | 88 |
| 93 } // content | 89 } // content |
| OLD | NEW |