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

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

Issue 1102733002: Remove most occurences of PrefRegistrySyncable::UNSYNCABLE_PREF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefs-add-reg-funcs
Patch Set: Created 5 years, 8 months 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 5dfc0210fe5ad73b3cd234eed6c4901bf6b6f99d..bf4d4ff03cc5230041a0088ad9cc87bc461fa47c 100644
--- a/chrome/browser/printing/print_dialog_cloud.cc
+++ b/chrome/browser/printing/print_dialog_cloud.cc
@@ -681,14 +681,8 @@ void CreateDialogForFileImpl(content::BrowserContext* browser_context,
namespace print_dialog_cloud {
void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
- registry->RegisterIntegerPref(
- prefs::kCloudPrintDialogWidth,
- kDefaultWidth,
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
- registry->RegisterIntegerPref(
- prefs::kCloudPrintDialogHeight,
- kDefaultHeight,
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterIntegerPref(prefs::kCloudPrintDialogWidth, kDefaultWidth);
+ registry->RegisterIntegerPref(prefs::kCloudPrintDialogHeight, kDefaultHeight);
}
// Called on the FILE or UI thread. This is the main entry point into creating

Powered by Google App Engine
This is Rietveld 408576698