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

Unified Diff: chrome/browser/profiles/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: patch unittest fix from michael 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
Index: chrome/browser/profiles/profile_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index 5933687f1a616863e989512012305d436d53cb9c..09a364e76ba5fc31c9e10c00b283541583cfe618 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -732,6 +732,12 @@ ProfileImpl::GetMediaRequestContextForRenderProcess(
return io_data_.GetMediaRequestContextGetter();
}
+net::URLRequestContextGetter*
+ProfileImpl::GetMediaRequestContextForStoragePartition(
+ const std::string& partition_id) {
+ return io_data_.GetIsolatedMediaRequestContextGetter(partition_id);
+}
+
content::ResourceContext* ProfileImpl::GetResourceContext() {
return io_data_.GetResourceContext();
}

Powered by Google App Engine
This is Rietveld 408576698