| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "content/browser/debugger/devtools_client_host.h" | |
| 6 | |
| 7 #include "content/browser/debugger/devtools_manager.h" | |
| 8 | |
| 9 DevToolsClientHost::~DevToolsClientHost() { | |
| 10 } | |
| 11 | |
| 12 DevToolsClientHost::DevToolsClientHost() : close_listener_(NULL) { | |
| 13 } | |
| 14 | |
| 15 void DevToolsClientHost::ForwardToDevToolsAgent(const IPC::Message& message) { | |
| 16 DevToolsManager::GetInstance()->ForwardToDevToolsAgent(this, message); | |
| 17 } | |
| 18 | |
| 19 void DevToolsClientHost::NotifyCloseListener() { | |
| 20 if (close_listener_) { | |
| 21 close_listener_->ClientHostClosing(this); | |
| 22 close_listener_ = NULL; | |
| 23 } | |
| 24 } | |
| OLD | NEW |