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

Unified Diff: chrome/browser/component_updater/pepper_flash_component_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/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 75c33e059649a84114c5fb803205ae04d6640663..4bfde05c5bb433add658535041b92fa4682e3c40 100644
--- a/chrome/browser/component_updater/pepper_flash_component_installer.cc
+++ b/chrome/browser/component_updater/pepper_flash_component_installer.cc
@@ -175,7 +175,7 @@ class FlashComponentInstallerTraits : public ComponentInstallerTraits {
private:
// The following methods override ComponentInstallerTraits.
- bool CanAutoUpdate() const override;
+ bool SupportsGroupPolicyEnabledComponentUpdates() const override;
bool RequiresNetworkEncryption() const override;
bool OnCustomInstall(const base::DictionaryValue& manifest,
const base::FilePath& install_dir) override;
@@ -195,8 +195,9 @@ class FlashComponentInstallerTraits : public ComponentInstallerTraits {
FlashComponentInstallerTraits::FlashComponentInstallerTraits() {}
-bool FlashComponentInstallerTraits::CanAutoUpdate() const {
- return true;
+bool FlashComponentInstallerTraits::SupportsGroupPolicyEnabledComponentUpdates()
+ const {
+ return false;
}
bool FlashComponentInstallerTraits::RequiresNetworkEncryption() const {

Powered by Google App Engine
This is Rietveld 408576698