| Index: components/download/internal/model.h
|
| diff --git a/components/download/internal/model.h b/components/download/internal/model.h
|
| index d7f6d105156b456a0123eeced297bdb046c3a17f..d45a25594d91009241760637abf1d56d050d41dd 100644
|
| --- a/components/download/internal/model.h
|
| +++ b/components/download/internal/model.h
|
| @@ -30,7 +30,7 @@ class Model {
|
| // |success| is |false|, initialization of the Model and/or the underlying
|
| // Store failed. Initialization of the Model is complete after this
|
| // callback. If |success| is true it can be accessed now.
|
| - virtual void OnInitialized(bool success) = 0;
|
| + virtual void OnModelReady(bool success) = 0;
|
|
|
| // Called when an Entry addition is complete. |success| determines whether
|
| // or not the entry has been successfully persisted to the Store.
|
| @@ -57,7 +57,7 @@ class Model {
|
|
|
| // Initializes the Model. Client::OnInitialized() will be called in response.
|
| // The Model can be used after that call.
|
| - virtual void Initialize() = 0;
|
| + virtual void Initialize(Client* client) = 0;
|
|
|
| // Adds |entry| to this Model and attempts to write |entry| to the Store.
|
| // Client::OnItemAdded() will be called in response asynchronously.
|
|
|