Chromium Code Reviews| Index: chrome/browser/net/predictor.h |
| diff --git a/chrome/browser/net/predictor.h b/chrome/browser/net/predictor.h |
| index 3a747d8251796b5fc987511dcba1b9fbda645c7c..76ea6d451907ae3fa5658dba117cb6aa31932c2a 100644 |
| --- a/chrome/browser/net/predictor.h |
| +++ b/chrome/browser/net/predictor.h |
| @@ -83,10 +83,13 @@ class Predictor { |
| // Enum describing when to allow network predictions based on connection type. |
| // The same enum must be used by the platform-dependent components. |
|
mmenke
2014/06/26 20:41:02
Should mention that order matters here, since they
Bence
2014/06/27 15:11:51
Done.
|
| // TODO(bnc): implement as per crbug.com/334602. |
| + // NETWORK_PREDICTION_UNSET means that the old preferences, |
| + // kNetworkPredictionEnabled and kAllowPrerender, should be observed. |
| enum NetworkPredictionOptions { |
| NETWORK_PREDICTION_ALWAYS, |
| NETWORK_PREDICTION_WIFI_ONLY, |
| - NETWORK_PREDICTION_NEVER |
| + NETWORK_PREDICTION_NEVER, |
| + NETWORK_PREDICTION_UNSET, |
| }; |
|
mmenke
2014/06/26 20:41:02
Suggest moving these into the new file, since they
Bence
2014/06/27 15:11:50
Cf. https://codereview.chromium.org/336543003#msg2
Bence
2014/06/27 18:26:45
Done.
|
| // A version number for prefs that are saved. This should be incremented when |