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

Unified Diff: components/component_updater/default_component_installer.cc

Issue 2102083002: Allow component installers to specify a map of installer attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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: 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 111a45f5796e3d6a99661da7f677f834acf4aeb9..fa071a20036ead274e2a9d0a2577ae613f87f1ef 100644
--- a/components/component_updater/default_component_installer.cc
+++ b/components/component_updater/default_component_installer.cc
@@ -332,7 +332,7 @@ void DefaultComponentInstaller::FinishRegistration(
crx.version = current_version_;
crx.fingerprint = current_fingerprint_;
crx.name = installer_traits_->GetName();
- crx.ap = installer_traits_->GetAp();
+ crx.installer_attributes = installer_traits_->GetInstallerAttributes();
crx.requires_network_encryption =
installer_traits_->RequiresNetworkEncryption();
if (!cus->RegisterComponent(crx)) {

Powered by Google App Engine
This is Rietveld 408576698