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

Unified Diff: chrome/browser/profiles/profile_impl.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
« no previous file with comments | « chrome/browser/profiles/profile_impl.h ('k') | chrome/browser/profiles/profile_impl_io_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_impl.cc
===================================================================
--- chrome/browser/profiles/profile_impl.cc (revision 121250)
+++ chrome/browser/profiles/profile_impl.cc (working copy)
@@ -409,7 +409,7 @@
ChromePluginServiceFilter::GetInstance()->RegisterResourceContext(
PluginPrefs::GetForProfile(this),
- &io_data_.GetResourceContextNoInit());
+ io_data_.GetResourceContextNoInit());
// Creation has been finished.
if (delegate_)
@@ -565,7 +565,7 @@
pref_change_registrar_.RemoveAll();
ChromePluginServiceFilter::GetInstance()->UnregisterResourceContext(
- &io_data_.GetResourceContextNoInit());
+ io_data_.GetResourceContextNoInit());
if (io_data_.HasMainRequestContext() &&
default_request_context_ == GetRequestContext()) {
@@ -842,7 +842,7 @@
return io_data_.GetMediaRequestContextGetter();
}
-const content::ResourceContext& ProfileImpl::GetResourceContext() {
+content::ResourceContext* ProfileImpl::GetResourceContext() {
return io_data_.GetResourceContext();
}
@@ -1245,7 +1245,7 @@
appcache_service_.get(),
IsOffTheRecord()
? FilePath() : GetPath().Append(chrome::kAppCacheDirname),
- &io_data_.GetResourceContextNoInit(),
+ io_data_.GetResourceContextNoInit(),
make_scoped_refptr(GetExtensionSpecialStoragePolicy())));
}
« no previous file with comments | « chrome/browser/profiles/profile_impl.h ('k') | chrome/browser/profiles/profile_impl_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698