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 8239ba31a0c7408679fdf428910a95392662a756..786b51cde037e9812eb6eb50ce9558d5db73d8a5 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* context) const = 0; |
// Returns a WebPreferences object that will be used by the renderer |
// associated with the owning render view host. |