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

Side by Side Diff: content/public/browser/devtools_agent_host.h

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 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // Temporarily detaches render view host from this host. Must be followed by 62 // Temporarily detaches render view host from this host. Must be followed by
63 // a call to ConnectRenderViewHost (may leak the host instance otherwise). 63 // a call to ConnectRenderViewHost (may leak the host instance otherwise).
64 virtual void DisconnectRenderViewHost() = 0; 64 virtual void DisconnectRenderViewHost() = 0;
65 65
66 // Attaches render view host to this host. 66 // Attaches render view host to this host.
67 virtual void ConnectRenderViewHost(RenderViewHost* rvh) = 0; 67 virtual void ConnectRenderViewHost(RenderViewHost* rvh) = 0;
68 68
69 // Returns true if DevToolsAgentHost is for worker. 69 // Returns true if DevToolsAgentHost is for worker.
70 virtual bool IsWorker() const = 0; 70 virtual bool IsWorker() const = 0;
71 71
72 // Returns true if DevToolsAgentHost is for paused worker for debugging.
73 virtual bool IsWorkerPaused() const = 0;
pfeldman 2014/05/20 19:20:41 This is a very strange addition to the public cont
74
72 protected: 75 protected:
73 friend class base::RefCounted<DevToolsAgentHost>; 76 friend class base::RefCounted<DevToolsAgentHost>;
74 virtual ~DevToolsAgentHost() {} 77 virtual ~DevToolsAgentHost() {}
75 }; 78 };
76 79
77 } // namespace content 80 } // namespace content
78 81
79 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_ 82 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698