Index: chrome/browser/net/predictor.h |
diff --git a/chrome/browser/net/predictor.h b/chrome/browser/net/predictor.h |
index 3234e17c71d3c02cdb167d2e08d8b84ae015951e..3a747d8251796b5fc987511dcba1b9fbda645c7c 100644 |
--- a/chrome/browser/net/predictor.h |
+++ b/chrome/browser/net/predictor.h |
@@ -80,6 +80,15 @@ class PredictorObserver { |
// the IO thread. |
class Predictor { |
public: |
+ // Enum describing when to allow network predictions based on connection type. |
+ // The same enum must be used by the platform-dependent components. |
+ // TODO(bnc): implement as per crbug.com/334602. |
+ enum NetworkPredictionOptions { |
+ NETWORK_PREDICTION_ALWAYS, |
+ NETWORK_PREDICTION_WIFI_ONLY, |
+ NETWORK_PREDICTION_NEVER |
+ }; |
+ |
// A version number for prefs that are saved. This should be incremented when |
// we change the format so that we discard old data. |
static const int kPredictorReferrerVersion; |