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

Side by Side Diff: content/browser/devtools/devtools_agent_host_impl.cc

Issue 299693002: Add option to open the DevTools window for ServiceWorker on start in serviceworker-internals. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 months 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
OLDNEW
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
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() const { 63 bool DevToolsAgentHostImpl::IsWorker() const {
64 return false; 64 return false;
65 } 65 }
66 66
67 bool DevToolsAgentHostImpl::IsWorkerPaused() const {
68 return false;
69 }
70
67 void DevToolsAgentHostImpl::NotifyCloseListener() { 71 void DevToolsAgentHostImpl::NotifyCloseListener() {
68 if (close_listener_) { 72 if (close_listener_) {
69 scoped_refptr<DevToolsAgentHostImpl> protect(this); 73 scoped_refptr<DevToolsAgentHostImpl> protect(this);
70 close_listener_->AgentHostClosing(this); 74 close_listener_->AgentHostClosing(this);
71 close_listener_ = NULL; 75 close_listener_ = NULL;
72 } 76 }
73 } 77 }
74 78
75 } // namespace content 79 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698