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

Unified Diff: chrome/browser/policy/configuration_policy_handler_list_factory.cc

Issue 2885363003: Add policy to use system default printer (Closed)
Patch Set: Fix test Created 3 years, 6 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/policy/configuration_policy_handler_list_factory.cc
diff --git a/chrome/browser/policy/configuration_policy_handler_list_factory.cc b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
index b80cb13d35b692065762fba1fd3747ceb146b52c..18f196c5e9df4d0d6c5c60d0302612bb2508dbc6 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -156,6 +156,9 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = {
{ key::kDefaultPrinterSelection,
prefs::kPrintPreviewDefaultDestinationSelectionRules,
base::Value::Type::STRING },
+ { key::kUseSystemDefaultPrinterAsDefault,
+ prefs::kUseSystemDefaultPrinterAsDefault,
+ base::Value::Type::BOOLEAN},
{ key::kApplicationLocaleValue,
prefs::kApplicationLocale,
base::Value::Type::STRING },

Powered by Google App Engine
This is Rietveld 408576698