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

Unified Diff: content/browser/storage_partition_impl_map.cc

Issue 11147026: Initial refactor to get profiles to propagate storage partition details. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed macro and InMemory. Created 8 years, 2 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: content/browser/storage_partition_impl_map.cc
diff --git a/content/browser/storage_partition_impl_map.cc b/content/browser/storage_partition_impl_map.cc
index 02bfdd6cff15b1ba9ad5b4339f44b6d233cea19a..352f39088134a3ae70cf8d6c3e621faba949cd50 100644
--- a/content/browser/storage_partition_impl_map.cc
+++ b/content/browser/storage_partition_impl_map.cc
@@ -211,12 +211,13 @@ StoragePartitionImpl* StoragePartitionImplMap::Get(
partition->SetURLRequestContext(
partition_id.empty() ?
browser_context_->GetRequestContext() :
- browser_context_->GetRequestContextForStoragePartition(partition_id));
+ browser_context_->GetRequestContextForStoragePartition(
+ partition->GetPath(), false));
partition->SetMediaURLRequestContext(
partition_id.empty() ?
browser_context_->GetMediaRequestContext() :
browser_context_->GetMediaRequestContextForStoragePartition(
- partition_id));
+ partition->GetPath(), false));
PostCreateInitialization(partition);

Powered by Google App Engine
This is Rietveld 408576698