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

Unified Diff: chrome/browser/net/predictor.h

Issue 2084093002: Use lossy prefs in the net predictor, and update them more frequently (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@predictor_lru
Patch Set: Fix browser tests Created 4 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/net/predictor.cc » ('j') | chrome/browser/net/predictor.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/predictor.h
diff --git a/chrome/browser/net/predictor.h b/chrome/browser/net/predictor.h
index 527a366eba090f0a43ab5d8c8d5f701205389f08..48ed9b2b80bd21379fa8a688e3aee63ceddcaa66 100644
--- a/chrome/browser/net/predictor.h
+++ b/chrome/browser/net/predictor.h
@@ -238,13 +238,11 @@ class Predictor {
void DnsPrefetchMotivatedList(const std::vector<GURL>& urls,
UrlInfo::ResolutionMotivation motivation);
- // May be called from either the IO or UI thread and will PostTask
- // to the IO thread if necessary.
+ // Called from the UI thread in response to the load event.
void SaveStateForNextStartup();
void SaveDnsPrefetchStateForNextStartup(base::ListValue* startup_list,
- base::ListValue* referral_list,
- base::WaitableEvent* completion);
+ base::ListValue* referral_list);
// May be called from either the IO or UI thread and will PostTask
// to the IO thread if necessary.
« no previous file with comments | « no previous file | chrome/browser/net/predictor.cc » ('j') | chrome/browser/net/predictor.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698