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

Unified Diff: chrome/browser/extensions/data_deleter.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
Index: chrome/browser/extensions/data_deleter.cc
diff --git a/chrome/browser/extensions/data_deleter.cc b/chrome/browser/extensions/data_deleter.cc
index 9ce58a885807ce9beb624ed63ae4598af2817b79..07cc87a2a7cbe371f8a81a6c9002945c33e73cbe 100644
--- a/chrome/browser/extensions/data_deleter.cc
+++ b/chrome/browser/extensions/data_deleter.cc
@@ -93,15 +93,14 @@ DataDeleter::DataDeleter(
extension_request_context_ = profile->GetRequestContextForExtensions();
} else if (is_storage_isolated) {
extension_request_context_ =
- profile->GetRequestContextForIsolatedApp(extension_id);
+ profile->GetRequestContextForStoragePartition(extension_id);
isolated_app_path_ =
profile->GetPath().Append(
content::StoragePartition::GetPartitionPath(extension_id));
} else {
extension_request_context_ = profile->GetRequestContext();
}
-
- file_system_context_ = BrowserContext::GetFileSystemContext(profile);
+ file_system_context_ = storage_partition->GetFileSystemContext();
indexed_db_context_ = storage_partition->GetIndexedDBContext();
storage_origin_ = storage_origin;
« no previous file with comments | « chrome/browser/extensions/api/downloads/downloads_api_unittest.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698