Index: chrome/browser/net/predictor.h |
diff --git a/chrome/browser/net/predictor.h b/chrome/browser/net/predictor.h |
index 4fea68aa825730df5375585109c07e0753fd630e..e568b4040e4c2ef473eb21500d781d6434c92ce7 100644 |
--- a/chrome/browser/net/predictor.h |
+++ b/chrome/browser/net/predictor.h |
@@ -435,10 +435,12 @@ class Predictor { |
UrlInfo::ResolutionMotivation motivation, |
bool is_preconnect); |
- // There two members call the corresponding global functions in |
+ // These four members call the corresponding global functions in |
// prediction_options.cc. |
- virtual bool CanPredictNetworkActionsUI(); |
- virtual bool CanPredictNetworkActionsIO(); |
+ virtual bool CanPrefetchAndPrerenderUI() const; |
+ virtual bool CanPrefetchAndPrerenderIO() const; |
+ virtual bool CanPreresolveAndPreconnectUI() const; |
+ virtual bool CanPreresolveAndPreconnectIO() const; |
// ------------- Start IO thread methods. |
@@ -613,9 +615,11 @@ class SimplePredictor : public Predictor { |
ProfileIOData* profile_io_data) OVERRIDE; |
virtual void ShutdownOnUIThread() OVERRIDE; |
private: |
- // There member functions return True for unittests. |
- virtual bool CanPredictNetworkActionsUI() OVERRIDE; |
- virtual bool CanPredictNetworkActionsIO() OVERRIDE; |
+ // These member functions return True for unittests. |
+ virtual bool CanPrefetchAndPrerenderUI() const OVERRIDE; |
+ virtual bool CanPrefetchAndPrerenderIO() const OVERRIDE; |
+ virtual bool CanPreresolveAndPreconnectUI() const OVERRIDE; |
+ virtual bool CanPreresolveAndPreconnectIO() const OVERRIDE; |
}; |
} // namespace chrome_browser_net |