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

Unified Diff: chrome/browser/component_updater/pepper_flash_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: chrome/browser/component_updater/pepper_flash_component_installer.cc
diff --git a/chrome/browser/component_updater/pepper_flash_component_installer.cc b/chrome/browser/component_updater/pepper_flash_component_installer.cc
index 472e25c771a484231ef6cebc5811b37c436fd85c..94c8d59e3e97648b8695e7afa03a2c8cc3810aa7 100644
--- a/chrome/browser/component_updater/pepper_flash_component_installer.cc
+++ b/chrome/browser/component_updater/pepper_flash_component_installer.cc
@@ -184,7 +184,7 @@ class FlashComponentInstallerTraits : public ComponentInstallerTraits {
base::FilePath GetRelativeInstallDir() const override;
void GetHash(std::vector<uint8_t>* hash) const override;
std::string GetName() const override;
- std::string GetAp() const override;
+ update_client::InstallerAttributes GetInstallerAttributes() const override;
DISALLOW_COPY_AND_ASSIGN(FlashComponentInstallerTraits);
};
@@ -253,8 +253,9 @@ std::string FlashComponentInstallerTraits::GetName() const {
return "pepper_flash";
}
-std::string FlashComponentInstallerTraits::GetAp() const {
- return std::string();
+update_client::InstallerAttributes
+FlashComponentInstallerTraits::GetInstallerAttributes() const {
+ return update_client::InstallerAttributes();
}
#endif // defined(GOOGLE_CHROME_BUILD)

Powered by Google App Engine
This is Rietveld 408576698