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_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 virtual std::string GetId() OVERRIDE; | 48 virtual std::string GetId() OVERRIDE; |
49 | 49 |
50 virtual RenderViewHost* GetRenderViewHost() OVERRIDE; | 50 virtual RenderViewHost* GetRenderViewHost() OVERRIDE; |
51 | 51 |
52 virtual void DisconnectRenderViewHost() OVERRIDE; | 52 virtual void DisconnectRenderViewHost() OVERRIDE; |
53 | 53 |
54 virtual void ConnectRenderViewHost(RenderViewHost* rvh) OVERRIDE; | 54 virtual void ConnectRenderViewHost(RenderViewHost* rvh) OVERRIDE; |
55 | 55 |
56 virtual bool IsWorker() const OVERRIDE; | 56 virtual bool IsWorker() const OVERRIDE; |
57 | 57 |
| 58 virtual GURL GetURL() OVERRIDE; |
| 59 |
58 protected: | 60 protected: |
59 DevToolsAgentHostImpl(); | 61 DevToolsAgentHostImpl(); |
60 virtual ~DevToolsAgentHostImpl(); | 62 virtual ~DevToolsAgentHostImpl(); |
61 | 63 |
62 void NotifyCloseListener(); | 64 void NotifyCloseListener(); |
63 | 65 |
64 private: | 66 private: |
65 CloseListener* close_listener_; | 67 CloseListener* close_listener_; |
66 const std::string id_; | 68 const std::string id_; |
67 }; | 69 }; |
68 | 70 |
69 } // namespace content | 71 } // namespace content |
70 | 72 |
71 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ | 73 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ |
OLD | NEW |