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() { |