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

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: slight tweaking for comments 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
« no previous file with comments | « content/browser/renderer_host/render_process_host.cc ('k') | content/browser/site_instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « content/browser/renderer_host/render_process_host.cc ('k') | content/browser/site_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698