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

Unified Diff: ios/chrome/browser/reading_list/reading_list_model.h

Issue 2369303002: Reading List create protobuf store (Closed)
Patch Set: feedback Created 4 years, 2 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: 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_;

Powered by Google App Engine
This is Rietveld 408576698