Index: content/browser/renderer_host/render_view_host_delegate.h |
diff --git a/content/browser/renderer_host/render_view_host_delegate.h b/content/browser/renderer_host/render_view_host_delegate.h |
index 8d4ea10cdf918d91898b85b0b6c34e30ac08b014..c1ae931165151995ceda970d48c7d156229d1577 100644 |
--- a/content/browser/renderer_host/render_view_host_delegate.h |
+++ b/content/browser/renderer_host/render_view_host_delegate.h |
@@ -27,7 +27,6 @@ class BookmarkNode; |
struct ContextMenuParams; |
class GURL; |
struct NativeWebKeyboardEvent; |
-class Profile; |
struct RendererPreferences; |
class RenderProcessHost; |
class RenderViewHost; |
@@ -40,6 +39,10 @@ struct WebMenuItem; |
class WebKeyboardEvent; |
struct WebPreferences; |
+namespace content { |
+class BrowserContext; |
+} |
+ |
namespace gfx { |
class Point; |
class Rect; |
@@ -295,7 +298,8 @@ class RenderViewHostDelegate : public IPC::Channel::Listener { |
// Return a dummy RendererPreferences object that will be used by the renderer |
// associated with the owning RenderViewHost. |
- virtual RendererPreferences GetRendererPrefs(Profile* profile) const = 0; |
+ virtual RendererPreferences GetRendererPrefs( |
+ content::BrowserContext* browser_context) const = 0; |
// Returns a WebPreferences object that will be used by the renderer |
// associated with the owning render view host. |