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

Unified Diff: chrome/browser/intents/web_intents_util.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/intents/web_intents_util.cc
diff --git a/chrome/browser/intents/web_intents_util.cc b/chrome/browser/intents/web_intents_util.cc
index 5ee5d4b5cc873c50469c2cab766f9bd70403d761..868d8d073f53f23446a79545e48b2507871e314b 100644
--- a/chrome/browser/intents/web_intents_util.cc
+++ b/chrome/browser/intents/web_intents_util.cc
@@ -59,9 +59,9 @@ const char kQuickOfficeViewerServiceURL[] =
const char kQuickOfficeViewerDevServiceURL[] =
"chrome-extension://ionpfmkccalenbmnddpbmocokhaknphg/views/appEditor.html";
-void RegisterUserPrefs(PrefService* user_prefs) {
+void RegisterUserPrefs(PrefServiceSyncable* user_prefs) {
user_prefs->RegisterBooleanPref(prefs::kWebIntentsEnabled, true,
- PrefService::SYNCABLE_PREF);
+ PrefServiceSyncable::SYNCABLE_PREF);
}
bool IsWebIntentsEnabled(PrefService* prefs) {

Powered by Google App Engine
This is Rietveld 408576698