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

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

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.h
diff --git a/chrome/browser/extensions/api/commands/command_service.h b/chrome/browser/extensions/api/commands/command_service.h
index 8d0e70fdd779a516257ec72e0c49ceed434b464b..ce3ba5a7b78eac3380caff12fd4bfbca555dc2d0 100644
--- a/chrome/browser/extensions/api/commands/command_service.h
+++ b/chrome/browser/extensions/api/commands/command_service.h
@@ -16,7 +16,7 @@
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/notification_source.h"
-class PrefService;
+class PrefServiceSyncable;
class Profile;
namespace base {
@@ -43,7 +43,7 @@ class CommandService : public ProfileKeyedService,
};
// Register prefs for keybinding.
- static void RegisterUserPrefs(PrefService* user_prefs);
+ static void RegisterUserPrefs(PrefServiceSyncable* user_prefs);
// Constructs a CommandService object for the given profile.
explicit CommandService(Profile* profile);

Powered by Google App Engine
This is Rietveld 408576698