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

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

Issue 2592043002: Add title update merge logic to reading list entry (Closed)
Patch Set: Update function comment Created 4 years 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_entry.h
diff --git a/components/reading_list/ios/reading_list_entry.h b/components/reading_list/ios/reading_list_entry.h
index dbf0b7090e793a77d7339e338dca2611a791d76d..e4548502574c518827a6ce4aeeba63606247e4fd 100644
--- a/components/reading_list/ios/reading_list_entry.h
+++ b/components/reading_list/ios/reading_list_entry.h
@@ -68,6 +68,10 @@ class ReadingListEntry {
// entries. The value is in microseconds since Jan 1st 1970.
int64_t UpdateTime() const;
+ // The last update time of the title of the entry. The value is in
+ // microseconds since Jan 1st 1970.
+ int64_t UpdateTitleTime() const;
+
// The creation update time of the entry. The value is in microseconds since
// Jan 1st 1970.
int64_t CreationTime() const;
@@ -129,6 +133,7 @@ class ReadingListEntry {
int64_t creation_time,
int64_t first_read_time,
int64_t update_time,
+ int64_t update_title_time,
ReadingListEntry::DistillationState distilled_state,
const base::FilePath& distilled_path,
int failed_download_counter,
@@ -148,6 +153,7 @@ class ReadingListEntry {
int64_t creation_time_us_;
int64_t first_read_time_us_;
int64_t update_time_us_;
+ int64_t update_title_time_us_;
DISALLOW_COPY_AND_ASSIGN(ReadingListEntry);
};

Powered by Google App Engine
This is Rietveld 408576698