| 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/debugger/devtools_agent_host.h" | 5 #include "content/browser/devtools/devtools_agent_host.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "content/common/devtools_messages.h" | 8 #include "content/common/devtools_messages.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| 11 | 11 |
| 12 DevToolsAgentHost::DevToolsAgentHost() : close_listener_(NULL) { | 12 DevToolsAgentHost::DevToolsAgentHost() : close_listener_(NULL) { |
| 13 } | 13 } |
| 14 | 14 |
| 15 void DevToolsAgentHost::Attach() { | 15 void DevToolsAgentHost::Attach() { |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 } | 48 } |
| 49 | 49 |
| 50 void DevToolsAgentHost::NotifyCloseListener() { | 50 void DevToolsAgentHost::NotifyCloseListener() { |
| 51 if (close_listener_) { | 51 if (close_listener_) { |
| 52 close_listener_->AgentHostClosing(this); | 52 close_listener_->AgentHostClosing(this); |
| 53 close_listener_ = NULL; | 53 close_listener_ = NULL; |
| 54 } | 54 } |
| 55 } | 55 } |
| 56 | 56 |
| 57 } // namespace content | 57 } // namespace content |
| OLD | NEW |