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

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: 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_message_filter.h
diff --git a/content/browser/renderer_host/render_message_filter.h b/content/browser/renderer_host/render_message_filter.h
index 2cc7906d33b149603b2d3d2a00369af8e7192b31..8d153a40ef2a70b603e5f0343d358fcef029e22b 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;
}
@@ -70,7 +70,7 @@ class RenderMessageFilter : public BrowserMessageFilter {
// Create the filter.
RenderMessageFilter(int render_process_id,
PluginService* plugin_service,
- Profile* profile,
+ content::BrowserContext* context,
jam 2011/07/22 16:58:38 ditto
net::URLRequestContextGetter* request_context,
RenderWidgetHelper* render_widget_helper);
@@ -218,9 +218,9 @@ class RenderMessageFilter : public BrowserMessageFilter {
ResourceDispatcherHost* resource_dispatcher_host_;
PluginService* plugin_service_;
- // The Profile associated with our renderer process. This should only be
+ // The context associated with our renderer process. This should only be
// accessed on the UI thread!
- Profile* profile_;
+ content::BrowserContext* context_;
jam 2011/07/22 16:58:38 ditto
// Contextual information to be used for requests created here.
scoped_refptr<net::URLRequestContextGetter> request_context_;

Powered by Google App Engine
This is Rietveld 408576698