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

Unified Diff: components/reading_list/ios/reading_list_store.h

Issue 2525663002: Refactor Reading List Model to use URL as key. (Closed)
Patch Set: feedback Created 4 years, 1 month 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: components/reading_list/ios/reading_list_store.h
diff --git a/components/reading_list/ios/reading_list_store.h b/components/reading_list/ios/reading_list_store.h
index f8896b0984d2398c4c75debfb4e5959d2ff8d3e9..ab90ca43d584cee4962e813e9dbc97d72adf9a81 100644
--- a/components/reading_list/ios/reading_list_store.h
+++ b/components/reading_list/ios/reading_list_store.h
@@ -35,7 +35,7 @@ class ReadingListStore : public syncer::ModelTypeSyncBridge,
void SetReadingListModel(ReadingListModel* model,
ReadingListStoreDelegate* delegate) override;
- void SaveEntry(const ReadingListEntry& entry, bool read) override;
+ void SaveEntry(const ReadingListEntry& entry) override;
void RemoveEntry(const ReadingListEntry& entry) override;
// ReadingListModelStorage implementation.
@@ -123,8 +123,7 @@ class ReadingListStore : public syncer::ModelTypeSyncBridge,
std::unique_ptr<syncer::MetadataBatch> metadata_batch);
void AddEntryToBatch(syncer::MutableDataBatch* batch,
- const ReadingListEntry& entry,
- bool read);
+ const ReadingListEntry& entry);
std::unique_ptr<syncer::ModelTypeStore> store_;
ReadingListModel* model_;

Powered by Google App Engine
This is Rietveld 408576698