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

Unified Diff: chrome/browser/policy/policy_browsertest.cc

Issue 443413002: Enable TCP preconnect and DNS preresolve on cellular. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert removing predictor_enabled check. Created 6 years, 4 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
« no previous file with comments | « chrome/browser/net/predictor.cc ('k') | chrome/browser/prefetch/prefetch.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/policy_browsertest.cc
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
index bc4bc930ab5133bc9c2839738c26540fa5a3e2e8..d6379e3c477663adfb5489e718e1909f56ce12da 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -378,7 +378,7 @@ bool IsJavascriptEnabled(content::WebContents* contents) {
}
bool IsNetworkPredictionEnabled(PrefService* prefs) {
- return chrome_browser_net::CanPredictNetworkActionsUI(prefs);
+ return chrome_browser_net::CanPrefetchAndPrerenderUI(prefs);
}
void CopyPluginListAndQuit(std::vector<content::WebPluginInfo>* out,
« no previous file with comments | « chrome/browser/net/predictor.cc ('k') | chrome/browser/prefetch/prefetch.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698