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

Unified Diff: components/update_client/configurator.h

Issue 2199423002: Mechanical change in the component updater Configurator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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
« no previous file with comments | « components/update_client/action_update.cc ('k') | components/update_client/test_configurator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/configurator.h
diff --git a/components/update_client/configurator.h b/components/update_client/configurator.h
index 7f55b9b761e588141444ebb2934d6dfe094b00f6..e547d955a8210e922a0066acf39489bf736b893f 100644
--- a/components/update_client/configurator.h
+++ b/components/update_client/configurator.h
@@ -99,14 +99,20 @@ class Configurator : public base::RefCountedThreadSafe<Configurator> {
CreateOutOfProcessPatcher() const = 0;
// True means that this client can handle delta updates.
- virtual bool DeltasEnabled() const = 0;
+ virtual bool EnabledDeltas() const = 0;
+
+ // True if component updates are enabled. Updates for all components are
+ // enabled by default. This method allows enabling or disabling
+ // updates for certain components such as the plugins. Updates for some
+ // components are always enabled and can't be disabled programatically.
+ virtual bool EnabledComponentUpdates() const = 0;
// True means that the background downloader can be used for downloading
// non on-demand components.
- virtual bool UseBackgroundDownloader() const = 0;
+ virtual bool EnabledBackgroundDownloader() const = 0;
// True if signing of update checks is enabled.
- virtual bool UseCupSigning() const = 0;
+ virtual bool EnabledCupSigning() const = 0;
// Gets a task runner to a blocking pool of threads suitable for worker jobs.
virtual scoped_refptr<base::SequencedTaskRunner> GetSequencedTaskRunner()
« no previous file with comments | « components/update_client/action_update.cc ('k') | components/update_client/test_configurator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698