diff options
author | joaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-29 11:52:30 +0000 |
---|---|---|
committer | joaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-29 11:52:30 +0000 |
commit | f72a12c059bdebb49827276543400970971768ac (patch) | |
tree | 193a0d2205bb865a64f963333364d998252c8537 /chrome/browser/prefs | |
parent | 5da5d704fcaf00ad71a8b59eac05b8d538264f67 (diff) | |
download | chromium_src-f72a12c059bdebb49827276543400970971768ac.zip chromium_src-f72a12c059bdebb49827276543400970971768ac.tar.gz chromium_src-f72a12c059bdebb49827276543400970971768ac.tar.bz2 |
Added policy to allow plugins that require authorization to run.
BUG=80818
TEST=Enable the AlwaysAuthorizePlugins policy, and plugins that require authorization are always allowed. Otherwise, the user is asked for authorization.
Review URL: http://codereview.chromium.org/6893092
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83504 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/prefs')
-rw-r--r-- | chrome/browser/prefs/command_line_pref_store.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/prefs/command_line_pref_store.cc b/chrome/browser/prefs/command_line_pref_store.cc index 2f4c316..a992ced 100644 --- a/chrome/browser/prefs/command_line_pref_store.cc +++ b/chrome/browser/prefs/command_line_pref_store.cc @@ -31,6 +31,8 @@ const CommandLinePrefStore::BooleanSwitchToPreferenceMapEntry { switches::kEnableCloudPrintProxy, prefs::kCloudPrintProxyEnabled, true }, { switches::kAllowOutdatedPlugins, prefs::kPluginsAllowOutdated, true }, + { switches::kAlwaysAuthorizePlugins, prefs::kPluginsAlwaysAuthorize, + true }, { switches::kNoPings, prefs::kEnableHyperlinkAuditing, false }, { switches::kNoReferrers, prefs::kEnableReferrers, false }, }; |