| 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 5a95d7ac3c16d3d33bc1764869d402c83990b9ce..cf7f2bb42b857b0884d68b4cc8a30c201e3c7b9b 100644
|
| --- a/components/reading_list/ios/reading_list_model.h
|
| +++ b/components/reading_list/ios/reading_list_model.h
|
| @@ -110,12 +110,18 @@ class ReadingListModel : public base::NonThreadSafe {
|
| // Methods to mutate an entry. Will locate the relevant entry by URL. Does
|
| // nothing if the entry is not found.
|
| virtual void SetEntryTitle(const GURL& url, const std::string& title) = 0;
|
| - virtual void SetEntryDistilledPath(const GURL& url,
|
| - const base::FilePath& distilled_path) = 0;
|
| virtual void SetEntryDistilledState(
|
| const GURL& url,
|
| ReadingListEntry::DistillationState state) = 0;
|
|
|
| + // 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.
|
| + virtual void SetEntryDistilledInfo(const GURL& url,
|
| + const base::FilePath& distilled_path,
|
| + const GURL& distilled_url) = 0;
|
| +
|
| // Observer registration methods. The model will remove all observers upon
|
| // destruction automatically.
|
| void AddObserver(ReadingListModelObserver* observer);
|
|
|