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

Unified Diff: components/component_updater/default_component_installer.cc

Issue 2292463004: Fix DefaultComponentInstaller::FinishRegistration and group policy. (Closed)
Patch Set: nop Created 4 years, 4 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 | components/component_updater/default_component_installer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/component_updater/default_component_installer.cc
diff --git a/components/component_updater/default_component_installer.cc b/components/component_updater/default_component_installer.cc
index 3a0b9b778b845468f23cbd09454db360e5f21c58..b9bcaa9e92d874bfcf32907f727d5046513c9e94 100644
--- a/components/component_updater/default_component_installer.cc
+++ b/components/component_updater/default_component_installer.cc
@@ -335,6 +335,9 @@ void DefaultComponentInstaller::FinishRegistration(
crx.requires_network_encryption =
installer_traits_->RequiresNetworkEncryption();
crx.handled_mime_types = installer_traits_->GetMimeTypes();
+ crx.supports_group_policy_enable_component_updates =
+ installer_traits_->SupportsGroupPolicyEnabledComponentUpdates();
+
if (!cus->RegisterComponent(crx)) {
LOG(ERROR) << "Component registration failed for "
<< installer_traits_->GetName();
« no previous file with comments | « no previous file | components/component_updater/default_component_installer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698