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

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: Remove changes leaked in from the dependent branch. Created 4 years, 2 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
« no previous file with comments | « chrome/browser/plugins/plugin_prefs_unittest.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a339ab5c58670a3a4026523e4a63ad9421915365..3739445cce9664ca78d1ccc210b47035d92c54a8 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 },
« no previous file with comments | « chrome/browser/plugins/plugin_prefs_unittest.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698