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

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: Created 6 years, 5 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..50d406bd4aaec2fa717626bda226fbaf4424c0d1 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.h
+++ b/chrome/browser/ui/webui/options/browser_options_handler.h
@@ -298,6 +298,18 @@ 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();
+
+ // Setup visibility of predictive network action controls based on current
+ // network type.
+ void SetupNetworkPredictionControlsVisibility();
+
+ // Update preferences to predictive network actions controls.
+ void SetupNetworkPredictionControls();
+
// Setup the font size selector control.
void SetupFontSizeSelector();

Powered by Google App Engine
This is Rietveld 408576698