Index: chrome/browser/extensions/data_deleter.cc |
diff --git a/chrome/browser/extensions/data_deleter.cc b/chrome/browser/extensions/data_deleter.cc |
index 409b8dfa2949a3928ce7d735a3973939ea85fa90..e1512b17062cfe4e559d2cec19a6f5bf1749af3e 100644 |
--- a/chrome/browser/extensions/data_deleter.cc |
+++ b/chrome/browser/extensions/data_deleter.cc |
@@ -6,6 +6,7 @@ |
#include "base/bind.h" |
#include "base/file_util.h" |
+#include "chrome/browser/extensions/extension_process_manager.h" |
#include "chrome/browser/extensions/extension_service.h" |
#include "chrome/browser/extensions/settings/settings_frontend.h" |
#include "chrome/browser/profiles/profile.h" |
@@ -14,6 +15,8 @@ |
#include "chrome/common/url_constants.h" |
#include "content/public/browser/dom_storage_context.h" |
#include "content/public/browser/indexed_db_context.h" |
+#include "content/public/browser/resource_context.h" |
+#include "content/public/browser/site_instance.h" |
#include "content/public/browser/storage_partition.h" |
#include "content/public/common/content_constants.h" |
#include "net/base/completion_callback.h" |
@@ -98,7 +101,9 @@ DataDeleter::DataDeleter( |
} else { |
extension_request_context_ = profile->GetRequestContext(); |
} |
- file_system_context_ = BrowserContext::GetFileSystemContext(profile); |
+ file_system_context_ = |
+ BrowserContext::GetDefaultStoragePartition(profile)-> |
+ GetFileSystemContext(); |
storage_origin_ = storage_origin; |
origin_id_ = |
webkit_database::DatabaseUtil::GetOriginIdentifier(storage_origin_); |