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

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: rebase 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 948ba0264deb49f59abb8efb856366f09a4518ca..8e3fcb30811fe18c624e54fa3394bffe5cb334c3 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -349,6 +349,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
@@ -358,7 +364,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);
@@ -368,8 +373,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