Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1390)

Unified Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 7464009: Removal of Profile from content part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: browser_context Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698