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

Unified Diff: chrome/browser/download/download_extension_api.cc

Issue 9369009: Make content::ResourceContext be a real interface like the rest of the Content API (i.e. don't ha... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 8 years, 10 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/download/download_extension_api.cc
===================================================================
--- chrome/browser/download/download_extension_api.cc (revision 121250)
+++ chrome/browser/download/download_extension_api.cc (working copy)
@@ -418,7 +418,7 @@
}
}
iodata_->rdh = ResourceDispatcherHost::Get();
- iodata_->resource_context = &profile()->GetResourceContext();
+ iodata_->resource_context = profile()->GetResourceContext();
iodata_->render_process_host_id = render_view_host()->process()->GetID();
iodata_->render_view_host_routing_id = render_view_host()->routing_id();
return true;
@@ -467,7 +467,7 @@
base::Bind(&DownloadsDownloadFunction::OnStarted, this),
iodata_->render_process_host_id,
iodata_->render_view_host_routing_id,
- *(iodata_->resource_context));
+ iodata_->resource_context);
iodata_.reset();
if (error != net::OK) {
« no previous file with comments | « chrome/browser/download/download_extension_api.h ('k') | chrome/browser/extensions/extension_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698