| Index: chrome/browser/extensions/extension_data_deleter.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/extension_data_deleter.cc (revision 122416)
|
| +++ chrome/browser/extensions/extension_data_deleter.cc (working copy)
|
| @@ -23,6 +23,7 @@
|
| #include "webkit/database/database_util.h"
|
| #include "webkit/fileapi/file_system_context.h"
|
|
|
| +using content::BrowserContext;
|
| using content::BrowserThread;
|
|
|
| // static
|
| @@ -77,9 +78,9 @@
|
| const GURL& storage_origin,
|
| bool is_storage_isolated)
|
| : extension_id_(extension_id) {
|
| - appcache_service_ = profile->GetAppCacheService();
|
| - webkit_context_ = profile->GetWebKitContext();
|
| - database_tracker_ = profile->GetDatabaseTracker();
|
| + appcache_service_ = BrowserContext::GetAppCacheService(profile);
|
| + webkit_context_ = BrowserContext::GetWebKitContext(profile);
|
| + database_tracker_ = BrowserContext::GetDatabaseTracker(profile);
|
| // Pick the right request context depending on whether it's an extension,
|
| // isolated app, or regular app.
|
| if (storage_origin.SchemeIs(chrome::kExtensionScheme)) {
|
| @@ -92,7 +93,7 @@
|
| } else {
|
| extension_request_context_ = profile->GetRequestContext();
|
| }
|
| - file_system_context_ = profile->GetFileSystemContext();
|
| + file_system_context_ = BrowserContext::GetFileSystemContext(profile);
|
| storage_origin_ = storage_origin;
|
| origin_id_ =
|
| webkit_database::DatabaseUtil::GetOriginIdentifier(storage_origin_);
|
|
|