| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RENDER_FRAME_HOST_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ | 6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 // and still has a connection. This is valid for all frames. | 177 // and still has a connection. This is valid for all frames. |
| 178 virtual bool IsRenderFrameLive() = 0; | 178 virtual bool IsRenderFrameLive() = 0; |
| 179 | 179 |
| 180 // Get the number of proxies to this frame, in all processes. Exposed for | 180 // Get the number of proxies to this frame, in all processes. Exposed for |
| 181 // use by resource metrics. | 181 // use by resource metrics. |
| 182 virtual int GetProxyCount() = 0; | 182 virtual int GetProxyCount() = 0; |
| 183 | 183 |
| 184 private: | 184 private: |
| 185 // This interface should only be implemented inside content. | 185 // This interface should only be implemented inside content. |
| 186 friend class RenderFrameHostImpl; | 186 friend class RenderFrameHostImpl; |
| 187 friend class MockRenderFrameHost; |
| 187 RenderFrameHost() {} | 188 RenderFrameHost() {} |
| 188 }; | 189 }; |
| 189 | 190 |
| 190 } // namespace content | 191 } // namespace content |
| 191 | 192 |
| 192 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ | 193 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ |
| OLD | NEW |