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

Unified Diff: chrome/browser/android/offline_pages/prerendering_offliner.h

Issue 2818783002: [Offline pages]: Implement background loader to save on last retry, and record last retry success U… (Closed)
Patch Set: Resolving code review comments Created 3 years, 8 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: chrome/browser/android/offline_pages/prerendering_offliner.h
diff --git a/chrome/browser/android/offline_pages/prerendering_offliner.h b/chrome/browser/android/offline_pages/prerendering_offliner.h
index 22e92b1ebfcea592c68712fa032cdf70b0910ee4..02dd912eff4b631a93c9f83a57eec92c3b2d5410 100644
--- a/chrome/browser/android/offline_pages/prerendering_offliner.h
+++ b/chrome/browser/android/offline_pages/prerendering_offliner.h
@@ -99,6 +99,7 @@ class PrerenderingOffliner : public Offliner {
CompletionCallback completion_callback_;
ProgressCallback progress_callback_;
bool is_low_end_device_;
+ bool saved_on_last_retry_;
// ApplicationStatusListener to monitor if the Chrome moves to the foreground.
std::unique_ptr<base::android::ApplicationStatusListener> app_listener_;
base::WeakPtrFactory<PrerenderingOffliner> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698