Index: content/browser/renderer_host/mock_render_process_host.h |
diff --git a/content/browser/renderer_host/mock_render_process_host.h b/content/browser/renderer_host/mock_render_process_host.h |
index a78512928569e0ab913522bd399a29987941bf48..7afb95a9353b384a519d7cff29ca718e9c60a41f 100644 |
--- a/content/browser/renderer_host/mock_render_process_host.h |
+++ b/content/browser/renderer_host/mock_render_process_host.h |
@@ -22,7 +22,7 @@ class URLRequestContextGetter; |
// IPC messages are sent into the message sink for inspection by tests. |
class MockRenderProcessHost : public RenderProcessHost { |
public: |
- explicit MockRenderProcessHost(Profile* profile); |
+ explicit MockRenderProcessHost(content::BrowserContext* browser_context); |
virtual ~MockRenderProcessHost(); |
// Provides access to all IPC messages that would have been sent to the |
@@ -84,7 +84,8 @@ class MockRenderProcessHostFactory : public RenderProcessHostFactory { |
MockRenderProcessHostFactory(); |
virtual ~MockRenderProcessHostFactory(); |
- virtual RenderProcessHost* CreateRenderProcessHost(Profile* profile) const; |
+ virtual RenderProcessHost* CreateRenderProcessHost( |
+ content::BrowserContext* browser_context) const OVERRIDE; |
// Removes the given MockRenderProcessHost from the MockRenderProcessHost list |
// without deleting it. When a test deletes a MockRenderProcessHost, we need |