OLD | NEW |
---|---|
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 Loading... | |
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_ |
OLD | NEW |