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

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

Issue 2205693004: Rename and repurpose ComponentInstallerTraits::CanAutoUpdate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cus-gp
Patch Set: rebase 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
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 41dae0d76aee09d604595d8357bf73e85d60539e..ef24cd25d1b07b876c31ea0f6964c52e7761c766 100644
--- a/chrome/browser/component_updater/supervised_user_whitelist_installer.cc
+++ b/chrome/browser/component_updater/supervised_user_whitelist_installer.cc
@@ -250,7 +250,7 @@ class SupervisedUserWhitelistComponentInstallerTraits
// ComponentInstallerTraits overrides:
bool VerifyInstallation(const base::DictionaryValue& manifest,
const base::FilePath& install_dir) const override;
- bool CanAutoUpdate() const override;
+ bool SupportsGroupPolicyEnabledComponentUpdates() const override;
bool RequiresNetworkEncryption() const override;
bool OnCustomInstall(const base::DictionaryValue& manifest,
const base::FilePath& install_dir) override;
@@ -278,8 +278,9 @@ bool SupervisedUserWhitelistComponentInstallerTraits::VerifyInstallation(
return base::PathExists(GetRawWhitelistPath(manifest, install_dir));
}
-bool SupervisedUserWhitelistComponentInstallerTraits::CanAutoUpdate() const {
- return true;
+bool SupervisedUserWhitelistComponentInstallerTraits::
+ SupportsGroupPolicyEnabledComponentUpdates() const {
+ return false;
}
bool SupervisedUserWhitelistComponentInstallerTraits::

Powered by Google App Engine
This is Rietveld 408576698