Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(900)

Side by Side Diff: content/browser/debugger/devtools_client_host.cc

Issue 8549022: Define DevTools content API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: jam's comments addressed Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « content/browser/debugger/devtools_client_host.h ('k') | content/browser/debugger/devtools_frontend_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698