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

Unified Diff: chrome/browser/extensions/extension_service_unittest.cc

Issue 9467016: Get rid of WebKitContext. Only two out of six HTML5 related objects were in it and it was just a gl… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix bug Created 8 years, 10 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
« no previous file with comments | « chrome/browser/extensions/extension_data_deleter.cc ('k') | chrome/test/base/testing_profile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
« no previous file with comments | « chrome/browser/extensions/extension_data_deleter.cc ('k') | chrome/test/base/testing_profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698