Index: components/download/internal/model.h |
diff --git a/components/download/internal/model.h b/components/download/internal/model.h |
index ce5de88e4500878f1f7667c461b30cfb53991144..d7f6d105156b456a0123eeced297bdb046c3a17f 100644 |
--- a/components/download/internal/model.h |
+++ b/components/download/internal/model.h |
@@ -32,11 +32,6 @@ class Model { |
// callback. If |success| is true it can be accessed now. |
virtual void OnInitialized(bool success) = 0; |
- // Called asynchronously in response to a Model::Destroy call. If |success| |
- // is |false|, destruction of the Model and/or the underlying Store failed. |
- // Destruction of the Model is effectively complete after this callback. |
- virtual void OnDestroyed(bool success) = 0; |
- |
// Called when an Entry addition is complete. |success| determines whether |
// or not the entry has been successfully persisted to the Store. |
virtual void OnItemAdded(bool success, |
@@ -64,9 +59,6 @@ class Model { |
// The Model can be used after that call. |
virtual void Initialize() = 0; |
- // Destroys the Model. Client::OnDestroyed() will be called in response. |
- virtual void Destroy() = 0; |
- |
// Adds |entry| to this Model and attempts to write |entry| to the Store. |
// Client::OnItemAdded() will be called in response asynchronously. |
virtual void Add(const Entry& entry) = 0; |