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

Unified Diff: components/update_client/update_client.h

Issue 1439153002: Revert of Change the update_client task runner behavior to continue on shutdown. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/task_update.cc ('k') | components/update_client/update_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/update_client.h
diff --git a/components/update_client/update_client.h b/components/update_client/update_client.h
index f5107d58c7c0df12b168debd57d38f88ea63848f..e53b634d0ac168e14f2907f808936cd844129b66 100644
--- a/components/update_client/update_client.h
+++ b/components/update_client/update_client.h
@@ -140,9 +140,7 @@
struct CrxUpdateItem;
enum Error {
- ERROR_UPDATE_INVALID_ARGUMENT = -1,
ERROR_UPDATE_IN_PROGRESS = 1,
- ERROR_UPDATE_CANCELED = 2,
};
// Defines an interface for a generic CRX installer.
@@ -298,12 +296,6 @@
// Returns true if the |id| is found in any running task.
virtual bool IsUpdating(const std::string& id) const = 0;
- // Cancels the queued updates and makes a best effort to stop updates in
- // progress as soon as possible. Some updates may not be stopped, in which
- // case, the updates will run to completion. Calling this function has no
- // effect if updates are not currently executed or queued up.
- virtual void Stop() = 0;
-
protected:
friend class base::RefCounted<UpdateClient>;
« no previous file with comments | « components/update_client/task_update.cc ('k') | components/update_client/update_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698