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

Unified Diff: chrome/browser/extensions/api/storage/storage_api_unittest.cc

Issue 197413002: Move extensions-related files to using //components/keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 9 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/api/storage/storage_api_unittest.cc
diff --git a/chrome/browser/extensions/api/storage/storage_api_unittest.cc b/chrome/browser/extensions/api/storage/storage_api_unittest.cc
index b6a1fd0f593c015b3fe59bf75f821b70e73b15c2..3b8ccd291bce14a9c6e1428efb5af123ea36fd55 100644
--- a/chrome/browser/extensions/api/storage/storage_api_unittest.cc
+++ b/chrome/browser/extensions/api/storage/storage_api_unittest.cc
@@ -30,7 +30,7 @@ namespace extensions {
namespace {
// Caller owns the returned object.
-BrowserContextKeyedService* CreateSettingsFrontendForTesting(
+KeyedService* CreateSettingsFrontendForTesting(
content::BrowserContext* context) {
return SettingsFrontend::CreateForTesting(new LeveldbSettingsStorageFactory(),
context);
@@ -91,7 +91,7 @@ class StorageApiUnittest : public ExtensionApiUnittest {
TEST_F(StorageApiUnittest, RestoreCorruptedStorage) {
// Ensure a SettingsFrontend can be created on demand. The SettingsFrontend
- // will be owned by the BrowserContextKeyedService system.
+ // will be owned by the KeyedService system.
SettingsFrontend::GetFactoryInstance()->SetTestingFactory(
profile(), &CreateSettingsFrontendForTesting);

Powered by Google App Engine
This is Rietveld 408576698