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

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

Issue 10542048: Add a group policy controlling which sites can install extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: yozments Created 8 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.cc
diff --git a/chrome/browser/policy/configuration_policy_handler_list.cc b/chrome/browser/policy/configuration_policy_handler_list.cc
index b73caf7e9963131e305b5bb635402932c16a83c4..ab73c642d87fb4dee3b0392570041754806887c2 100644
--- a/chrome/browser/policy/configuration_policy_handler_list.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list.cc
@@ -337,6 +337,11 @@ ConfigurationPolicyHandlerList::ConfigurationPolicyHandlerList() {
prefs::kExtensionInstallDenyList,
true));
Mattias Nissler (ping if slow) 2012/06/08 09:38:22 drop the newline here so all the extension handler
+ handlers_.push_back(
+ new ExtensionURLPatternListPolicyHandler(
+ key::kExtensionInstallSources,
+ prefs::kExtensionAllowedInstallSites));
+
#if !defined(OS_CHROMEOS)
handlers_.push_back(new DownloadDirPolicyHandler());
#endif // !defined(OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698