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

Unified Diff: chrome/browser/ui/webui/options/browser_options_handler.h

Issue 421653006: Update "Predict network actions" UI setting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. 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
Index: chrome/browser/ui/webui/options/browser_options_handler.h
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.h b/chrome/browser/ui/webui/options/browser_options_handler.h
index 81ffe06ad9a96efae7f36396aa36ec7a7e0a9306..5dca3af452a36b550a1c454606c46d7cdf391050 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.h
+++ b/chrome/browser/ui/webui/options/browser_options_handler.h
@@ -298,6 +298,14 @@ class BrowserOptionsHandler
// Setup the visibility for the metrics reporting setting.
void SetupMetricsReportingSettingVisibility();
+ // Migration from prefs::kNetworkPredictionEnabled to
+ // prefs::kNetworkPredictionOptions has to happen in a platform-specific
+ // component.
+ void MigrateNetworkPredictionOptions();
+
+ // Update value of predictive network actions UI element.
+ void SetupNetworkPredictionControl();
+
// Setup the font size selector control.
void SetupFontSizeSelector();

Powered by Google App Engine
This is Rietveld 408576698