Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Unified Diff: chrome/browser/net/predictor.h

Issue 357723003: Implement prediction_options. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Yet another rebase. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/net/predictor.h
diff --git a/chrome/browser/net/predictor.h b/chrome/browser/net/predictor.h
index 3a747d8251796b5fc987511dcba1b9fbda645c7c..ebdc634e6197e450dfa6823f55fa8f6c22b82883 100644
--- a/chrome/browser/net/predictor.h
+++ b/chrome/browser/net/predictor.h
@@ -83,10 +83,12 @@ class Predictor {
// 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.
+ // NETWORK_PREDICTION_UNSET means that the old setting(s) should be observed.
jkarlin 2014/06/26 16:28:52 Unclear what "the old settings" refers to here.
Bence 2014/06/26 20:02:06 Done.
enum NetworkPredictionOptions {
NETWORK_PREDICTION_ALWAYS,
NETWORK_PREDICTION_WIFI_ONLY,
- NETWORK_PREDICTION_NEVER
+ NETWORK_PREDICTION_NEVER,
+ NETWORK_PREDICTION_UNSET,
};
// A version number for prefs that are saved. This should be incremented when

Powered by Google App Engine
This is Rietveld 408576698