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

Unified Diff: content/browser/renderer_host/render_message_filter.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
Index: content/browser/renderer_host/render_message_filter.h
diff --git a/content/browser/renderer_host/render_message_filter.h b/content/browser/renderer_host/render_message_filter.h
index 11a28d68ab4f76a9e8d03d060b4b17903ba900fa..8cdd4960634013378550e509bd730796cc51ebe4 100644
--- a/content/browser/renderer_host/render_message_filter.h
+++ b/content/browser/renderer_host/render_message_filter.h
@@ -28,7 +28,6 @@
struct FontDescriptor;
class HostContentSettingsMap;
-class Profile;
class RenderWidgetHelper;
struct ViewHostMsg_CreateWindow_Params;
struct ViewHostMsg_CreateWorker_Params;
@@ -38,6 +37,7 @@ struct WebScreenInfo;
}
namespace content {
+class BrowserContext;
class ResourceContext;
}
@@ -71,7 +71,7 @@ class RenderMessageFilter : public BrowserMessageFilter {
// Create the filter.
RenderMessageFilter(int render_process_id,
PluginService* plugin_service,
- Profile* profile,
+ content::BrowserContext* browser_context,
net::URLRequestContextGetter* request_context,
RenderWidgetHelper* render_widget_helper);
@@ -235,9 +235,9 @@ class RenderMessageFilter : public BrowserMessageFilter {
ResourceDispatcherHost* resource_dispatcher_host_;
PluginService* plugin_service_;
- // The Profile associated with our renderer process. This should only be
- // accessed on the UI thread!
- Profile* profile_;
+ // The browser context associated with our renderer process. This should only
+ // be accessed on the UI thread!
+ content::BrowserContext* browser_context_;
// Contextual information to be used for requests created here.
scoped_refptr<net::URLRequestContextGetter> request_context_;
« no previous file with comments | « content/browser/renderer_host/pepper_file_message_filter.cc ('k') | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698