Index: chrome/browser/extensions/extension_service_unittest.cc |
=================================================================== |
--- chrome/browser/extensions/extension_service_unittest.cc (revision 123509) |
+++ chrome/browser/extensions/extension_service_unittest.cc (working copy) |
@@ -3089,7 +3089,7 @@ |
// Create local storage. We only simulate this by creating the backing file |
// since webkit is not initialized. |
- DOMStorageContext* context = DOMStorageContext::GetForBrowserContext( |
+ DOMStorageContext* context = BrowserContext::GetDOMStorageContext( |
profile_.get()); |
FilePath lso_path = context->GetFilePath(origin_id); |
EXPECT_TRUE(file_util::CreateDirectory(lso_path.DirName())); |
@@ -3098,7 +3098,7 @@ |
// Create indexed db. Similarly, it is enough to only simulate this by |
// creating the directory on the disk. |
- IndexedDBContext* idb_context = IndexedDBContext::GetForBrowserContext( |
+ IndexedDBContext* idb_context = BrowserContext::GetIndexedDBContext( |
profile_.get()); |
FilePath idb_path = idb_context->GetFilePathForTesting(origin_id); |
EXPECT_TRUE(file_util::CreateDirectory(idb_path)); |
@@ -3199,7 +3199,7 @@ |
// Create local storage. We only simulate this by creating the backing file |
// since webkit is not initialized. |
- DOMStorageContext* context = DOMStorageContext::GetForBrowserContext( |
+ DOMStorageContext* context = BrowserContext::GetDOMStorageContext( |
profile_.get()); |
FilePath lso_path = context->GetFilePath(origin_id); |
EXPECT_TRUE(file_util::CreateDirectory(lso_path.DirName())); |
@@ -3208,7 +3208,7 @@ |
// Create indexed db. Similarly, it is enough to only simulate this by |
// creating the directory on the disk. |
- IndexedDBContext* idb_context = IndexedDBContext::GetForBrowserContext( |
+ IndexedDBContext* idb_context = BrowserContext::GetIndexedDBContext( |
profile_.get()); |
FilePath idb_path = idb_context->GetFilePathForTesting(origin_id); |
EXPECT_TRUE(file_util::CreateDirectory(idb_path)); |