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

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

Issue 251653003: Introduces DevToolsManagerDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix CloudPrintProxyPolicyStartupTest failure 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // Returns render view host instance for this host if any. 59 // Returns render view host instance for this host if any.
60 virtual RenderViewHost* GetRenderViewHost() = 0; 60 virtual RenderViewHost* GetRenderViewHost() = 0;
61 61
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.
70 virtual bool IsWorker() = 0;
jam 2014/05/12 15:01:23 who is calling this in chrome, other than a test?
horo 2014/05/12 16:21:48 ChromeDevToolsManagerDelegate::Inspect() calls thi
71
69 protected: 72 protected:
70 friend class base::RefCounted<DevToolsAgentHost>; 73 friend class base::RefCounted<DevToolsAgentHost>;
71 virtual ~DevToolsAgentHost() {} 74 virtual ~DevToolsAgentHost() {}
72 }; 75 };
73 76
74 } // namespace content 77 } // namespace content
75 78
76 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_ 79 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698