Index: chrome/browser/net/predictor.h |
diff --git a/chrome/browser/net/predictor.h b/chrome/browser/net/predictor.h |
index 4fea68aa825730df5375585109c07e0753fd630e..91f020eddd070ae01ead568390c9477a255d9836 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 CanPreconnectUI(); |
+ virtual bool CanPreconnectIO(); |
mmenke
2014/08/08 16:05:42
nit: All 4 of these should be const.
Bence
2014/08/08 20:10:03
Done.
|
// ------------- 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. |
+ // These member functions return True for unittests. |
virtual bool CanPredictNetworkActionsUI() OVERRIDE; |
virtual bool CanPredictNetworkActionsIO() OVERRIDE; |
+ virtual bool CanPreconnectUI() OVERRIDE; |
+ virtual bool CanPreconnectIO() OVERRIDE; |
}; |
} // namespace chrome_browser_net |