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

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

Issue 2398233003: with sync (Closed)
Patch Set: done 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 44d17aa88590b6bb6743b1a8622aa05a089e6f4d..472c692c74c8d8b2645d7d23b2467fc6d9fe0ab2 100644
--- a/ios/chrome/browser/reading_list/reading_list_model.h
+++ b/ios/chrome/browser/reading_list/reading_list_model.h
@@ -23,7 +23,7 @@ class ChromeBrowserState;
}
namespace syncer {
-class SyncableService;
+class ModelTypeService;
}
// The reading list model contains two list of entries: one of unread urls, the
@@ -40,6 +40,8 @@ class ReadingListModel {
// Returns true if the model is performing batch updates right now.
bool IsPerformingBatchUpdates() const;
+ virtual syncer::ModelTypeService* GetModelTypeService() = 0;
+
// Tells model to prepare for batch updates.
// This method is reentrant, i.e. several batch updates may take place at the
// same time.
« no previous file with comments | « ios/chrome/browser/reading_list/BUILD.gn ('k') | ios/chrome/browser/reading_list/reading_list_model_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698