Index: chrome/browser/ui/webui/settings_utils.h |
diff --git a/chrome/browser/ui/webui/settings_utils.h b/chrome/browser/ui/webui/settings_utils.h |
index 9f95aa4fc770258bd493df559e0573dd5758cd7f..bd5079d265fe0c2f2d308bd6597a06f57f6e589a 100644 |
--- a/chrome/browser/ui/webui/settings_utils.h |
+++ b/chrome/browser/ui/webui/settings_utils.h |
@@ -5,8 +5,12 @@ |
#ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_UTILS_H_ |
#define CHROME_BROWSER_UI_WEBUI_SETTINGS_UTILS_H_ |
+#include <string> |
+ |
#include "base/macros.h" |
+class GURL; |
+ |
namespace content { |
class WebContents; |
} |
@@ -19,6 +23,11 @@ void ShowNetworkProxySettings(content::WebContents* web_contents); |
// Invoke UI for SSL certificates. |
void ShowManageSSLCertificates(content::WebContents* web_contents); |
+// Returns whether |url_string| is a valid startup page. |fixed_url| is set to |
+// the fixed up, valid URL if not null. |
+bool FixupAndValidateStartupPage(const std::string& url_string, |
+ GURL* fixed_url); |
+ |
} // namespace settings_utils |
#endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_UTILS_H_ |