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

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: rebase fix 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 591209ef202a2d2a8af994fb61dd5838267a040c..e46b1f03d00ce10c1e76039d162963faa6201447 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);
@@ -234,9 +234,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_;

Powered by Google App Engine
This is Rietveld 408576698