OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/devtools_agent_host_impl.h" | 5 #include "content/browser/devtools/devtools_agent_host_impl.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/guid.h" | 10 #include "base/guid.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 } | 53 } |
54 | 54 |
55 RenderViewHost* DevToolsAgentHostImpl::GetRenderViewHost() { | 55 RenderViewHost* DevToolsAgentHostImpl::GetRenderViewHost() { |
56 return NULL; | 56 return NULL; |
57 } | 57 } |
58 | 58 |
59 void DevToolsAgentHostImpl::DisconnectRenderViewHost() {} | 59 void DevToolsAgentHostImpl::DisconnectRenderViewHost() {} |
60 | 60 |
61 void DevToolsAgentHostImpl::ConnectRenderViewHost(RenderViewHost* rvh) {} | 61 void DevToolsAgentHostImpl::ConnectRenderViewHost(RenderViewHost* rvh) {} |
62 | 62 |
| 63 bool DevToolsAgentHostImpl::IsWorker() { |
| 64 return false; |
| 65 } |
| 66 |
63 void DevToolsAgentHostImpl::NotifyCloseListener() { | 67 void DevToolsAgentHostImpl::NotifyCloseListener() { |
64 if (close_listener_) { | 68 if (close_listener_) { |
65 scoped_refptr<DevToolsAgentHostImpl> protect(this); | 69 scoped_refptr<DevToolsAgentHostImpl> protect(this); |
66 close_listener_->AgentHostClosing(this); | 70 close_listener_->AgentHostClosing(this); |
67 close_listener_ = NULL; | 71 close_listener_ = NULL; |
68 } | 72 } |
69 } | 73 } |
70 | 74 |
71 } // namespace content | 75 } // namespace content |
OLD | NEW |