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

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

Issue 2369353002: Adds a pref and a policy to decide if PDFs should always be opened externally. (Closed)
Patch Set: Address comments. Created 4 years, 3 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 bc3a703e3073ba81d7e2185e2c388b7dba8c0be9..74ab34b195da21cec39451765750c89673c53cfa 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -146,6 +146,9 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = {
{ key::kEnabledPlugins,
prefs::kPluginsEnabledPlugins,
base::Value::TYPE_LIST },
+ { key::kAlwaysOpenPdfExternally,
+ prefs::kPluginsAlwaysOpenPdfExternally,
+ base::Value::TYPE_BOOLEAN },
{ key::kShowHomeButton,
prefs::kShowHomeButton,
base::Value::TYPE_BOOLEAN },

Powered by Google App Engine
This is Rietveld 408576698