| Index: chrome/browser/net/predictor.h
|
| diff --git a/chrome/browser/net/predictor.h b/chrome/browser/net/predictor.h
|
| index 527a366eba090f0a43ab5d8c8d5f701205389f08..9d0bf2a1e161c484be8e8f89be718017e9903920 100644
|
| --- a/chrome/browser/net/predictor.h
|
| +++ b/chrome/browser/net/predictor.h
|
| @@ -172,10 +172,16 @@ class Predictor {
|
|
|
| virtual void ShutdownOnUIThread();
|
|
|
| + void UpdatePrefsOnUIThread(base::ListValue* startup_list,
|
| + base::ListValue* referral_list);
|
| +
|
| // ------------- End UI thread methods.
|
|
|
| // ------------- Start IO thread methods.
|
|
|
| + void WriteDnsPrefetchState(base::ListValue* startup_list,
|
| + base::ListValue* referral_list);
|
| +
|
| // Cancel pending requests and prevent new ones from being made.
|
| void Shutdown();
|
|
|
| @@ -238,14 +244,9 @@ 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);
|
| -
|
| // May be called from either the IO or UI thread and will PostTask
|
| // to the IO thread if necessary.
|
| void PreconnectUrl(const GURL& url,
|
|
|