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

Unified Diff: chrome/browser/profiles/off_the_record_profile_impl.cc

Issue 10909182: Make FileSystemContext respect StoragePartitions. filesystem:// urls will be properly isolated (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove useless headers. Created 8 years, 3 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/off_the_record_profile_impl.h ('k') | chrome/browser/profiles/profile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/off_the_record_profile_impl.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc
index ca279e0368819315d677aa169a6a8fd0550e38e1..722a17ae77aeb406965e47a910f8919ec2a712db 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
@@ -252,7 +252,7 @@ net::URLRequestContextGetter*
const extensions::Extension* installed_app = GetExtensionService()->
GetInstalledAppForRenderer(renderer_child_id);
if (installed_app != NULL && installed_app->is_storage_isolated()) {
- return GetRequestContextForIsolatedApp(installed_app->id());
+ return GetRequestContextForStoragePartition(installed_app->id());
}
}
@@ -265,7 +265,7 @@ net::URLRequestContextGetter*
// non-persistent context using the RPH's id.
std::string id("guest-");
id.append(base::IntToString(renderer_child_id));
- return GetRequestContextForIsolatedApp(id);
+ return GetRequestContextForStoragePartition(id);
}
return GetRequestContext();
@@ -285,14 +285,20 @@ net::URLRequestContextGetter*
}
net::URLRequestContextGetter*
+OffTheRecordProfileImpl::GetMediaRequestContextForStoragePartition(
+ const std::string& partition_id) {
+ return GetRequestContextForStoragePartition(partition_id);
+}
+
+net::URLRequestContextGetter*
OffTheRecordProfileImpl::GetRequestContextForExtensions() {
return io_data_.GetExtensionsRequestContextGetter();
}
net::URLRequestContextGetter*
- OffTheRecordProfileImpl::GetRequestContextForIsolatedApp(
- const std::string& app_id) {
- return io_data_.GetIsolatedAppRequestContextGetter(app_id);
+ OffTheRecordProfileImpl::GetRequestContextForStoragePartition(
+ const std::string& partition_id) {
+ return io_data_.GetIsolatedAppRequestContextGetter(partition_id);
}
content::ResourceContext* OffTheRecordProfileImpl::GetResourceContext() {
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.h ('k') | chrome/browser/profiles/profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698