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

Unified Diff: chrome/browser/component_updater/supervised_user_whitelist_installer.cc

Issue 1872053002: Implement an API to allow passing an "ap" parameter to component updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/supervised_user_whitelist_installer.cc
diff --git a/chrome/browser/component_updater/supervised_user_whitelist_installer.cc b/chrome/browser/component_updater/supervised_user_whitelist_installer.cc
index 42f3ed6738135082db5ee423da351f177df17f7f..323bfbc94241cb035a4f096b714ae0b5b3d2dcc9 100644
--- a/chrome/browser/component_updater/supervised_user_whitelist_installer.cc
+++ b/chrome/browser/component_updater/supervised_user_whitelist_installer.cc
@@ -258,6 +258,7 @@ class SupervisedUserWhitelistComponentInstallerTraits
base::FilePath GetBaseDirectory() const override;
void GetHash(std::vector<uint8_t>* hash) const override;
std::string GetName() const override;
+ std::string GetAp() const override;
std::string crx_id_;
std::string name_;
@@ -318,6 +319,10 @@ std::string SupervisedUserWhitelistComponentInstallerTraits::GetName() const {
return name_;
}
+std::string SupervisedUserWhitelistComponentInstallerTraits::GetAp() const {
+ return std::string();
+}
+
class SupervisedUserWhitelistInstallerImpl
: public SupervisedUserWhitelistInstaller,
public ProfileAttributesStorage::Observer {

Powered by Google App Engine
This is Rietveld 408576698