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

Unified Diff: content/browser/renderer_host/render_message_filter.cc

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.cc
diff --git a/content/browser/renderer_host/render_message_filter.cc b/content/browser/renderer_host/render_message_filter.cc
index 8812e6159743a2ecd377dcbc03af929370b9ef42..de6d1290d54fe3f7f8e4cc0059b796f34a17be77 100644
--- a/content/browser/renderer_host/render_message_filter.cc
+++ b/content/browser/renderer_host/render_message_filter.cc
@@ -15,7 +15,7 @@
#include "base/utf_string_conversions.h"
#include "chrome/browser/download/download_types.h"
#include "chrome/browser/download/download_util.h"
-#include "chrome/browser/profiles/profile.h"
+#include "content/browser/browser_context.h"
#include "content/browser/browser_thread.h"
#include "content/browser/child_process_security_policy.h"
#include "content/browser/content_browser_client.h"
@@ -270,18 +270,18 @@ class DoomEntriesHelper {
RenderMessageFilter::RenderMessageFilter(
int render_process_id,
PluginService* plugin_service,
- Profile* profile,
+ content::BrowserContext* browser_context,
net::URLRequestContextGetter* request_context,
RenderWidgetHelper* render_widget_helper)
: resource_dispatcher_host_(
content::GetContentClient()->browser()->GetResourceDispatcherHost()),
plugin_service_(plugin_service),
- profile_(profile),
+ browser_context_(browser_context),
request_context_(request_context),
- resource_context_(profile->GetResourceContext()),
+ resource_context_(browser_context->GetResourceContext()),
render_widget_helper_(render_widget_helper),
- incognito_(profile->IsOffTheRecord()),
- webkit_context_(profile->GetWebKitContext()),
+ incognito_(browser_context->IsOffTheRecord()),
+ webkit_context_(browser_context->GetWebKitContext()),
render_process_id_(render_process_id) {
DCHECK(request_context_);
« no previous file with comments | « content/browser/renderer_host/render_message_filter.h ('k') | content/browser/renderer_host/render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698