| Index: components/reading_list/ios/reading_list_model_storage.h
|
| diff --git a/components/reading_list/ios/reading_list_model_storage.h b/components/reading_list/ios/reading_list_model_storage.h
|
| index f0ac31a9a33aca09639ee9b95c704b23774ab297..40a5a540944c4b9f472e001fba1a20678db541b3 100644
|
| --- a/components/reading_list/ios/reading_list_model_storage.h
|
| +++ b/components/reading_list/ios/reading_list_model_storage.h
|
| @@ -15,6 +15,10 @@
|
| class ReadingListModel;
|
| class ReadingListStoreDelegate;
|
|
|
| +namespace base {
|
| +class Clock;
|
| +}
|
| +
|
| namespace syncer {
|
| class ModelTypeSyncBridge;
|
| }
|
| @@ -32,8 +36,11 @@ class ReadingListModelStorage : public syncer::ModelTypeSyncBridge {
|
|
|
| // Sets the model the Storage is backing.
|
| // This will trigger store initalization and load persistent entries.
|
| + // Pass the |clock| from the |model| to ensure synchroization when loading
|
| + // entries.
|
| virtual void SetReadingListModel(ReadingListModel* model,
|
| - ReadingListStoreDelegate* delegate) = 0;
|
| + ReadingListStoreDelegate* delegate,
|
| + base::Clock* clock) = 0;
|
|
|
| // Starts a transaction. All Save/Remove entry will be delayed until the
|
| // transaction is commited.
|
|
|