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

Unified Diff: chrome/browser/prefs/browser_prefs.cc

Issue 22577010: Printing: Add a basic printing mode without print preview and cloud print. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 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/prefs/browser_prefs.cc
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index f954807629df35883c88fcefd550948e42e9bc13..112c997c59c87bcb4850ba0e30531b9c5b9df205 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -340,6 +340,12 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
BrowserWindowGtk::RegisterProfilePrefs(registry);
#endif
+#if defined(ENABLE_FULL_PRINTING)
+ print_dialog_cloud::RegisterProfilePrefs(registry);
+ printing::StickySettings::RegisterProfilePrefs(registry);
+ CloudPrintURL::RegisterProfilePrefs(registry);
+#endif
+
#if defined(OS_ANDROID)
PromoHandler::RegisterProfilePrefs(registry);
#endif
@@ -349,7 +355,6 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
#endif
#if !defined(OS_ANDROID)
- CloudPrintURL::RegisterProfilePrefs(registry);
DeviceIDFetcher::RegisterProfilePrefs(registry);
DevToolsWindow::RegisterProfilePrefs(registry);
extensions::CommandService::RegisterProfilePrefs(registry);
@@ -359,8 +364,6 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
PepperFlashSettingsManager::RegisterProfilePrefs(registry);
PinnedTabCodec::RegisterProfilePrefs(registry);
PluginsUI::RegisterProfilePrefs(registry);
- print_dialog_cloud::RegisterProfilePrefs(registry);
- printing::StickySettings::RegisterProfilePrefs(registry);
RegisterAutolaunchUserPrefs(registry);
signin::RegisterProfilePrefs(registry);
#endif

Powered by Google App Engine
This is Rietveld 408576698