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

Unified Diff: chrome/browser/profiles/off_the_record_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
Index: chrome/browser/profiles/off_the_record_profile_impl.cc
===================================================================
--- chrome/browser/profiles/off_the_record_profile_impl.cc (revision 121250)
+++ chrome/browser/profiles/off_the_record_profile_impl.cc (working copy)
@@ -113,7 +113,7 @@
GetChromeURLDataManager()->AddDataSource(icon_source);
ChromePluginServiceFilter::GetInstance()->RegisterResourceContext(
- PluginPrefs::GetForProfile(this), &io_data_.GetResourceContextNoInit());
+ PluginPrefs::GetForProfile(this), io_data_.GetResourceContextNoInit());
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
@@ -126,7 +126,7 @@
content::NotificationService::NoDetails());
ChromePluginServiceFilter::GetInstance()->UnregisterResourceContext(
- &io_data_.GetResourceContextNoInit());
+ io_data_.GetResourceContextNoInit());
ProfileDependencyManager::GetInstance()->DestroyProfileServices(this);
@@ -368,8 +368,7 @@
return io_data_.GetIsolatedAppRequestContextGetter(app_id);
}
-const content::ResourceContext&
- OffTheRecordProfileImpl::GetResourceContext() {
+content::ResourceContext* OffTheRecordProfileImpl::GetResourceContext() {
return io_data_.GetResourceContext();
}
@@ -607,7 +606,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/off_the_record_profile_impl.h ('k') | chrome/browser/profiles/off_the_record_profile_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698