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

Unified Diff: components/component_updater/default_component_installer.h

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: components/component_updater/default_component_installer.h
diff --git a/components/component_updater/default_component_installer.h b/components/component_updater/default_component_installer.h
index 126aeefa5860719e82ba3d6a0ffeba3a1e59aa72..18a87c543f8d486ead78178be7c23ab92886d640 100644
--- a/components/component_updater/default_component_installer.h
+++ b/components/component_updater/default_component_installer.h
@@ -46,9 +46,9 @@ class ComponentInstallerTraits {
virtual bool VerifyInstallation(const base::DictionaryValue& manifest,
const base::FilePath& install_dir) const = 0;
- // Returns true if the component can be automatically updated. Called once
- // during component registration from the UI thread.
- virtual bool CanAutoUpdate() const = 0;
+ // Returns true if the component supports a group policy to enable updates.
+ // Called once during component registration from the UI thread.
+ virtual bool SupportsGroupPolicyEnabledComponentUpdates() const = 0;
// Returns true if the network communication related to this component
// must be encrypted.

Powered by Google App Engine
This is Rietveld 408576698