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

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

Issue 2525663002: Refactor Reading List Model to use URL as key. (Closed)
Patch Set: format 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: ios/chrome/browser/reading_list/reading_list_model_storage.h
diff --git a/ios/chrome/browser/reading_list/reading_list_model_storage.h b/ios/chrome/browser/reading_list/reading_list_model_storage.h
index 9fe680d84fd2324671129501501dc35a8a4945ec..824f24681d16d5f10535f8a7de18a5e5ad55d683 100644
--- a/ios/chrome/browser/reading_list/reading_list_model_storage.h
+++ b/ios/chrome/browser/reading_list/reading_list_model_storage.h
@@ -41,10 +41,10 @@ class ReadingListModelStorage {
// Saves or updates an entry. If the entry is not yet in the database, it is
// created.
- virtual void SaveEntry(const ReadingListEntry& entry, bool read) = 0;
+ virtual void SaveEntry(const ReadingListEntry* entry) = 0;
// Removed an entry from the storage.
- virtual void RemoveEntry(const ReadingListEntry& entry) = 0;
+ virtual void RemoveEntry(const ReadingListEntry* entry) = 0;
class ScopedBatchUpdate {
public:

Powered by Google App Engine
This is Rietveld 408576698