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

Unified Diff: ios/chrome/browser/reading_list/url_downloader.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: ios/chrome/browser/reading_list/url_downloader.h
diff --git a/ios/chrome/browser/reading_list/url_downloader.h b/ios/chrome/browser/reading_list/url_downloader.h
index 793bd3c354cfdd1a9dd5e04f3926e98a47017750..c5758987b60f6c7c40f7c7102d47929680089004 100644
--- a/ios/chrome/browser/reading_list/url_downloader.h
+++ b/ios/chrome/browser/reading_list/url_downloader.h
@@ -68,6 +68,7 @@ class URLDownloader : public net::URLFetcherDelegate,
const GURL&,
SuccessState,
const base::FilePath&,
+ int64_t size,
const std::string&)>;
// Create a URL downloader with completion callbacks for downloads and
@@ -181,6 +182,7 @@ class URLDownloader : public net::URLFetcherDelegate,
base::FilePath base_directory_;
GURL original_url_;
GURL distilled_url_;
+ int64_t saved_size_;
std::string mime_type_;
// Fetcher used to redownload the document and save it in the sandbox.
std::unique_ptr<net::URLFetcher> fetcher_;

Powered by Google App Engine
This is Rietveld 408576698