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

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

Issue 1712943002: [Android] Simplify "network predictions" preference to a boolean value. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/prediction_options.h
diff --git a/chrome/browser/net/prediction_options.h b/chrome/browser/net/prediction_options.h
index 9029157db38d328c48f4ea0a269f8fceb86559f5..defc168e7852de70a0ea944614e97df845eb2e9e 100644
--- a/chrome/browser/net/prediction_options.h
+++ b/chrome/browser/net/prediction_options.h
@@ -18,6 +18,8 @@ namespace chrome_browser_net {
// The numerical value is stored in the prefs file, therefore the same enum
// with the same order must be used by the platform-dependent components.
enum NetworkPredictionOptions {
+ // TODO(newt): collapse ALWAYS and WIFI_ONLY into a single value. Possibly
newt (away) 2016/02/19 02:57:23 mmenke: Should we keep this enum (and reduce it do
mmenke 2016/02/19 15:48:40 My preference is to keep the enum, but get rid of
newt (away) 2016/02/19 21:41:54 Keeping the enum sounds good to me :) Neither "AL
+ // replace this enum with a boolean.
NETWORK_PREDICTION_ALWAYS,
NETWORK_PREDICTION_WIFI_ONLY,
NETWORK_PREDICTION_NEVER,

Powered by Google App Engine
This is Rietveld 408576698