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

Unified Diff: chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc

Issue 536573003: Add ExtensionManagement based ExternalLoader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ext-2
Patch Set: rebase Created 6 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/device_local_account_extension_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc
diff --git a/chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc b/chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc
index 0ce971ec7f656d410a1c4bb71ec0a36614badb4f..dc1174132012e8484f98b36fb23b56a2e5431076 100644
--- a/chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc
+++ b/chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc
@@ -94,6 +94,8 @@ DeviceLocalAccountExternalPolicyLoader::
void DeviceLocalAccountExternalPolicyLoader::UpdateExtensionListFromStore() {
scoped_ptr<base::DictionaryValue> prefs(new base::DictionaryValue);
const policy::PolicyMap& policy_map = store_->policy_map();
+ // TODO(binjin): Use two policy handlers here after
+ // ExtensionManagementPolicyHandler is introduced.
extensions::ExtensionInstallForcelistPolicyHandler policy_handler;
if (policy_handler.CheckPolicySettings(policy_map, NULL)) {
PrefValueMap pref_value_map;
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/device_local_account_extension_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698