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

Unified Diff: components/download/internal/model.h

Issue 2881173003: Download Service : Added leveldb proto layer (Closed)
Patch Set: Using OnceCallback and removed Store::Destroy Created 3 years, 7 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/download/internal/model.h
diff --git a/components/download/internal/model.h b/components/download/internal/model.h
index ce5de88e4500878f1f7667c461b30cfb53991144..6b98cdc05f12d18aee5e5e83c0b04005af6b9d40 100644
--- a/components/download/internal/model.h
+++ b/components/download/internal/model.h
@@ -32,10 +32,9 @@ 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.
+ // Called asynchronously in response to a Model::Destroy call.
// Destruction of the Model is effectively complete after this callback.
- virtual void OnDestroyed(bool success) = 0;
+ virtual void OnDestroyed() = 0;
// Called when an Entry addition is complete. |success| determines whether
// or not the entry has been successfully persisted to the Store.

Powered by Google App Engine
This is Rietveld 408576698