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

Unified Diff: chrome/browser/ui/webui/settings/settings_startup_pages_handler.h

Issue 1849543006: MD Settings: validate startup URLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@startup-browser-proxy
Patch Set: compile fix Created 4 years, 9 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/settings/settings_startup_pages_handler.h
diff --git a/chrome/browser/ui/webui/settings/settings_startup_pages_handler.h b/chrome/browser/ui/webui/settings/settings_startup_pages_handler.h
index 68a39876572abd8943b61d3d2c21198012fb4f95..01367ea7bd2977b46da80e0d03808ebdd7dbb9fd 100644
--- a/chrome/browser/ui/webui/settings/settings_startup_pages_handler.h
+++ b/chrome/browser/ui/webui/settings/settings_startup_pages_handler.h
@@ -52,6 +52,10 @@ class StartupPagesHandler : public SettingsPageUIHandler,
// Sets the startup page set to the current pages. Called from WebUI.
void HandleSetStartupPagesToCurrentPages(const base::ListValue* args);
+ // Handles the "validateStartupPage" message. Passed a URL that might be a
+ // valid startup page.
+ void HandleValidateStartupPage(const base::ListValue* args);
+
// Stores the current state of the startup page preferences.
void SaveStartupPagesPref();

Powered by Google App Engine
This is Rietveld 408576698