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

Unified Diff: chrome/common/pref_names.cc

Issue 336543003: Add AllowNetworkPrediction preference name and enum. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« chrome/common/pref_names.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index edf2729a9dad6c6042cf9471e93b82b74707551b..b45073a66f31b14f5e38f9bc0d4c0d2e0ed6cb65 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -497,8 +497,16 @@ const char kMultipleProfilePrefMigration[] =
// of web pages, and resource prefetching.
// NOTE: The "dns_prefetching.enabled" value is used so that historical user
// preferences are not lost.
+// NOTE: This will be obsoleted per issue 334602.
jkarlin 2014/06/13 11:26:40 Replace above with TODO(bnc): Remove kNetworkPredi
Bence 2014/06/13 13:49:06 Done.
const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled";
+// An integer pref shows if prediction of network actions is allowed:
+// ALWAYS, NEVER, or WIFI_ONLY.
jkarlin 2014/06/13 11:26:40 Suggest pointing to where the enum is defined chro
Bence 2014/06/13 13:49:06 Done.
+// Actions include DNS prefetching, TCP and SSL preconnection, prerendering
+// of web pages, and resource prefetching.
+// NOTE: This preference is not respected yet. See issue 334602.
jkarlin 2014/06/13 11:26:40 Replace NOTE line above with: TODO(bnc): Implemen
Bence 2014/06/13 13:49:06 Done.
+const char kAllowNetworkPrediction[] = "allow-network-prediction";
+
// An integer representing the state of the default apps installation process.
// This value is persisted in the profile's user preferences because the process
// is async, and the user may have stopped chrome in the middle. The next time
« chrome/common/pref_names.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698