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>; |