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

Unified Diff: chrome/browser/renderer_host/chrome_render_message_filter.cc

Issue 7346024: Get rid of the ProfileId. It was added for ceee. I reverted the original change, since it led to ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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: chrome/browser/renderer_host/chrome_render_message_filter.cc
===================================================================
--- chrome/browser/renderer_host/chrome_render_message_filter.cc (revision 92309)
+++ chrome/browser/renderer_host/chrome_render_message_filter.cc (working copy)
@@ -81,7 +81,6 @@
Profile* profile,
net::URLRequestContextGetter* request_context)
: render_process_id_(render_process_id),
- profile_id_(profile->GetRuntimeId()),
profile_(profile),
request_context_(request_context),
weak_ptr_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {
@@ -386,7 +385,7 @@
ChromeURLRequestContext* context = static_cast<ChromeURLRequestContext*>(
request_context_->GetURLRequestContext());
ExtensionFunctionDispatcher::DispatchOnIOThread(
- context->extension_info_map(), profile_id_, render_process_id_,
+ context->extension_info_map(), profile_, render_process_id_,
weak_ptr_factory_.GetWeakPtr(), routing_id, params);
}

Powered by Google App Engine
This is Rietveld 408576698