| Index: ios/chrome/browser/reading_list/reading_list_model.h
|
| diff --git a/ios/chrome/browser/reading_list/reading_list_model.h b/ios/chrome/browser/reading_list/reading_list_model.h
|
| index 9dc2d38240121d75af757cbab94eedcd46297039..44d17aa88590b6bb6743b1a8622aa05a089e6f4d 100644
|
| --- a/ios/chrome/browser/reading_list/reading_list_model.h
|
| +++ b/ios/chrome/browser/reading_list/reading_list_model.h
|
| @@ -16,11 +16,16 @@
|
|
|
| class GURL;
|
| class ReadingListModel;
|
| +class ReadingListStore;
|
|
|
| namespace ios {
|
| class ChromeBrowserState;
|
| }
|
|
|
| +namespace syncer {
|
| +class SyncableService;
|
| +}
|
| +
|
| // The reading list model contains two list of entries: one of unread urls, the
|
| // other of read ones. This object should only be accessed from one thread
|
| // (Usually the main thread). The observers callbacks are also sent on the main
|
| @@ -118,6 +123,12 @@ class ReadingListModel {
|
| // ReadingListBatchUpdateToken dtor.
|
| virtual void EndBatchUpdates();
|
|
|
| + // Called when model is entering batch update mode.
|
| + virtual void EnteringBatchUpdates();
|
| +
|
| + // Called when model is leaving batch update mode.
|
| + virtual void LeavingBatchUpdates();
|
| +
|
| private:
|
| unsigned int current_batch_updates_count_;
|
|
|
|
|