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

Unified Diff: chrome/browser/printing/cloud_print/cloud_print_url.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. 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/printing/cloud_print/cloud_print_url.cc
diff --git a/chrome/browser/printing/cloud_print/cloud_print_url.cc b/chrome/browser/printing/cloud_print/cloud_print_url.cc
index 7a4102807845fb1982f6d9d3ec7511ad48d66464..76dbacf895ea1fb5d77c3e53d0f82760f547f722 100644
--- a/chrome/browser/printing/cloud_print/cloud_print_url.cc
+++ b/chrome/browser/printing/cloud_print/cloud_print_url.cc
@@ -26,16 +26,16 @@ const char kTestPageURL[] =
void CloudPrintURL::RegisterPreferences() {
DCHECK(profile_);
- PrefService* pref_service = profile_->GetPrefs();
+ PrefServiceSyncable* pref_service = profile_->GetPrefs();
if (!pref_service->FindPreference(prefs::kCloudPrintServiceURL)) {
pref_service->RegisterStringPref(prefs::kCloudPrintServiceURL,
kDefaultCloudPrintServiceURL,
- PrefService::UNSYNCABLE_PREF);
+ PrefServiceSyncable::UNSYNCABLE_PREF);
}
if (!pref_service->FindPreference(prefs::kCloudPrintSigninURL)) {
pref_service->RegisterStringPref(prefs::kCloudPrintSigninURL,
kDefaultCloudPrintSigninURL,
- PrefService::UNSYNCABLE_PREF);
+ PrefServiceSyncable::UNSYNCABLE_PREF);
}
}

Powered by Google App Engine
This is Rietveld 408576698