| Index: chrome/browser/net/prediction_options.h
|
| diff --git a/chrome/browser/net/prediction_options.h b/chrome/browser/net/prediction_options.h
|
| index 2829409082c96036ea38cfedae9370c681299020..49ee23f0226bbf916ed593f5756a42023640328c 100644
|
| --- a/chrome/browser/net/prediction_options.h
|
| +++ b/chrome/browser/net/prediction_options.h
|
| @@ -34,14 +34,23 @@ void RegisterPredictionOptionsProfilePrefs(
|
| // prefs::kNetworkPredictionOptions (if does not have user setting).
|
| void MigrateNetworkPredictionUserPrefs(PrefService* pref_service);
|
|
|
| -// The following two global functions determine whether predictive network
|
| -// actions are enabled, based on preferences and network type.
|
| +// The following two global functions determine whether prefetching
|
| +// and prerendering are enabled, based on preferences and network type.
|
|
|
| // To be executed on the IO thread only.
|
| -bool CanPredictNetworkActionsIO(ProfileIOData* profile_io_data);
|
| +bool CanPrefetchAndPrerenderIO(ProfileIOData* profile_io_data);
|
|
|
| // To be executed on the UI thread only.
|
| -bool CanPredictNetworkActionsUI(PrefService* prefs);
|
| +bool CanPrefetchAndPrerenderUI(PrefService* prefs);
|
| +
|
| +// The following two global functions determine whether TCP preconnect
|
| +// and DNS preresolution are enabled, based on preferences.
|
| +
|
| +// To be executed on the IO thread only.
|
| +bool CanPreresolveAndPreconnectIO(ProfileIOData* profile_io_data);
|
| +
|
| +// To be executed on the UI thread only.
|
| +bool CanPreresolveAndPreconnectUI(PrefService* prefs);
|
|
|
| } // namespace chrome_browser_net
|
|
|
|
|