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

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

Issue 2764533002: Reading List iOS: Use external clock in ReadingListEntry. (Closed)
Patch Set: jitter Created 3 years, 9 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: 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 2b780073749911b19548c306f6c6160f51502ee4..9852d791675495c06c0c5eff49a1beb674111e44 100644
--- a/components/reading_list/ios/reading_list_store.h
+++ b/components/reading_list/ios/reading_list_store.h
@@ -35,7 +35,8 @@ class ReadingListStore : public ReadingListModelStorage,
// ReadingListModelStorage implementation
void SetReadingListModel(ReadingListModel* model,
- ReadingListStoreDelegate* delegate) override;
+ ReadingListStoreDelegate* delegate,
+ base::Clock* clock) override;
void SaveEntry(const ReadingListEntry& entry) override;
void RemoveEntry(const ReadingListEntry& entry) override;
@@ -164,6 +165,10 @@ class ReadingListStore : public ReadingListModelStorage,
int pending_transaction_count_;
std::unique_ptr<syncer::ModelTypeStore::WriteBatch> batch_;
+
+ base::Clock* clock_;
+
+ DISALLOW_COPY_AND_ASSIGN(ReadingListStore);
};
#endif // COMPONENTS_READING_LIST_IOS_READING_LIST_STORE_H_
« no previous file with comments | « components/reading_list/ios/reading_list_model_unittest.mm ('k') | components/reading_list/ios/reading_list_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698