Index: chrome/browser/precache/precache_util.h |
diff --git a/chrome/browser/precache/precache_util.h b/chrome/browser/precache/precache_util.h |
index 80a1fc8f0537df05ce81ed0958ada1d7e83a0bac..32e221204310b1480bce5fcae3acbdb621f79354 100644 |
--- a/chrome/browser/precache/precache_util.h |
+++ b/chrome/browser/precache/precache_util.h |
@@ -5,6 +5,8 @@ |
#ifndef CHROME_BROWSER_PRECACHE_PRECACHE_UTIL_H_ |
#define CHROME_BROWSER_PRECACHE_PRECACHE_UTIL_H_ |
+#include "base/time/time.h" |
+ |
namespace net { |
class URLRequest; |
} |
@@ -14,6 +16,12 @@ namespace precache { |
void UpdatePrecacheMetricsAndState(const net::URLRequest* request, |
void* profile_id); |
+// Registers the precache synthetic field trial for users whom the precache task |
+// started in the last |kDaysForPrecacheCandidates| days. The group name of the |
+// synthetic field trial will be the regular precache group. |
+// |last_precache_time| is the last time precache task was run. |
+void RegisterPrecacheSyntheticFieldTrial(const base::Time& last_precache_time); |
jamartin
2016/12/21 23:54:33
// All time classes are copyable, assignable, and
twifkak
2017/01/05 23:53:14
Done.
|
+ |
} // namespace precache |
#endif // CHROME_BROWSER_PRECACHE_PRECACHE_UTIL_H_ |