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

Unified Diff: chrome/browser/android/precache/precache_launcher.h

Issue 1272443002: Only set precache.last_time when precache ran. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@filter_stats
Patch Set: Don't retry often unless backend pending. Created 5 years, 4 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/precache/precache_launcher.h
diff --git a/chrome/browser/android/precache/precache_launcher.h b/chrome/browser/android/precache/precache_launcher.h
index 7f80669ff4bb891f725b92b2f53c4f07a4d54082..a17821ad6763a1e1cc33dd2e807cd583c25011d8 100644
--- a/chrome/browser/android/precache/precache_launcher.h
+++ b/chrome/browser/android/precache/precache_launcher.h
@@ -20,8 +20,10 @@ class PrecacheLauncher {
private:
~PrecacheLauncher();
- // Called when precaching completes.
- void OnPrecacheCompleted();
+ // Called when precaching completes. |try_again_soon| is true iff the precache
+ // failed to start due to a transient error and should be attempted again
+ // soon.
+ void OnPrecacheCompleted(bool try_again_soon);
JavaObjectWeakGlobalRef weak_java_precache_launcher_;

Powered by Google App Engine
This is Rietveld 408576698