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

Unified Diff: chrome/browser/printing/print_dialog_cloud.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/print_dialog_cloud.cc
diff --git a/chrome/browser/printing/print_dialog_cloud.cc b/chrome/browser/printing/print_dialog_cloud.cc
index 774f63d24f602f4bf7b5bf2de8b2d68a7c52c7ff..601acee8a889c9c1e6b871bacb873a5dda410128 100644
--- a/chrome/browser/printing/print_dialog_cloud.cc
+++ b/chrome/browser/printing/print_dialog_cloud.cc
@@ -532,14 +532,16 @@ void GetDialogWidthAndHeightFromPrefs(content::BrowserContext* browser_context,
Profile* profile = Profile::FromBrowserContext(browser_context);
if (!profile->GetPrefs()->FindPreference(prefs::kCloudPrintDialogWidth)) {
- profile->GetPrefs()->RegisterIntegerPref(prefs::kCloudPrintDialogWidth,
- kDefaultWidth,
- PrefService::UNSYNCABLE_PREF);
+ profile->GetPrefs()->RegisterIntegerPref(
+ prefs::kCloudPrintDialogWidth,
+ kDefaultWidth,
+ PrefServiceSyncable::UNSYNCABLE_PREF);
}
if (!profile->GetPrefs()->FindPreference(prefs::kCloudPrintDialogHeight)) {
- profile->GetPrefs()->RegisterIntegerPref(prefs::kCloudPrintDialogHeight,
- kDefaultHeight,
- PrefService::UNSYNCABLE_PREF);
+ profile->GetPrefs()->RegisterIntegerPref(
+ prefs::kCloudPrintDialogHeight,
+ kDefaultHeight,
+ PrefServiceSyncable::UNSYNCABLE_PREF);
}
*width = profile->GetPrefs()->GetInteger(prefs::kCloudPrintDialogWidth);

Powered by Google App Engine
This is Rietveld 408576698