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

Unified Diff: chrome/browser/extensions/api/commands/command_service.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 8 years 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/commands/command_service.cc
diff --git a/chrome/browser/extensions/api/commands/command_service.cc b/chrome/browser/extensions/api/commands/command_service.cc
index c4967fdd341ee5bc606c677a03785b82c4bc2c12..ba37a10dd1986b28cf3c96a2b7a446c785dbb17a 100644
--- a/chrome/browser/extensions/api/commands/command_service.cc
+++ b/chrome/browser/extensions/api/commands/command_service.cc
@@ -35,10 +35,9 @@ std::string GetPlatformKeybindingKeyForAccelerator(
namespace extensions {
// static
-void CommandService::RegisterUserPrefs(
- PrefService* user_prefs) {
- user_prefs->RegisterDictionaryPref(prefs::kExtensionCommands,
- PrefService::SYNCABLE_PREF);
+void CommandService::RegisterUserPrefs(PrefServiceSyncable* user_prefs) {
+ user_prefs->RegisterDictionaryPref(prefs::kExtensionCommands,
+ PrefServiceSyncable::SYNCABLE_PREF);
}
CommandService::CommandService(Profile* profile)

Powered by Google App Engine
This is Rietveld 408576698