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

Unified Diff: chrome/browser/printing/print_dialog_cloud.cc

Issue 11573065: Not for check-in. Manually reviewable parts of https://codereview.chromium.org/11570009/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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
« no previous file with comments | « chrome/browser/prefs/session_startup_pref_unittest.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 689da2dfb7bc4ab455c4c96a039ed104ea3a297b..9978386ef968cba635cdb752d4ecc5404619a8c4 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);
« no previous file with comments | « chrome/browser/prefs/session_startup_pref_unittest.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698