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

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

Issue 2707043002: [Reading List iOS] Store distillation date and size. (Closed)
Patch Set: done Created 3 years, 10 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_model.h
diff --git a/components/reading_list/ios/reading_list_model.h b/components/reading_list/ios/reading_list_model.h
index e650020d3bbe12ce74891437cbce39d94f455fd9..44d8173e8df1f3b02a7dd99b79ddf1282147ed9e 100644
--- a/components/reading_list/ios/reading_list_model.h
+++ b/components/reading_list/ios/reading_list_model.h
@@ -116,11 +116,15 @@ class ReadingListModel : public base::NonThreadSafe {
// Sets the Distilled info for the entry |url|. This method sets the
// DistillationState of the entry to PROCESSED and sets the |distilled_path|
- // (path of the file on disk) and the |distilled_url| (url of the page that
- // was distilled.
+ // (path of the file on disk), the |distilled_url| (url of the page that
+ // was distilled, the |distillation_size| (the size of the offline data) and
+ // the |distillation_date| (date of distillation in microseconds since Jan 1st
+ // 1970.
virtual void SetEntryDistilledInfo(const GURL& url,
const base::FilePath& distilled_path,
- const GURL& distilled_url) = 0;
+ const GURL& distilled_url,
+ int64_t distilation_size,
+ int64_t distilation_time) = 0;
// Observer registration methods. The model will remove all observers upon
// destruction automatically.
« no previous file with comments | « components/reading_list/ios/reading_list_entry_unittest.cc ('k') | components/reading_list/ios/reading_list_model_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698