| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_UTILS_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_UTILS_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_UTILS_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_UTILS_H_ |
| 7 | 7 |
| 8 #include <string> |
| 9 |
| 8 #include "base/macros.h" | 10 #include "base/macros.h" |
| 9 | 11 |
| 12 class GURL; |
| 13 |
| 10 namespace content { | 14 namespace content { |
| 11 class WebContents; | 15 class WebContents; |
| 12 } | 16 } |
| 13 | 17 |
| 14 namespace settings_utils { | 18 namespace settings_utils { |
| 15 | 19 |
| 16 // Invoke UI for network proxy settings. | 20 // Invoke UI for network proxy settings. |
| 17 void ShowNetworkProxySettings(content::WebContents* web_contents); | 21 void ShowNetworkProxySettings(content::WebContents* web_contents); |
| 18 | 22 |
| 19 // Invoke UI for SSL certificates. | 23 // Invoke UI for SSL certificates. |
| 20 void ShowManageSSLCertificates(content::WebContents* web_contents); | 24 void ShowManageSSLCertificates(content::WebContents* web_contents); |
| 21 | 25 |
| 26 // Returns whether |url_string| is a valid startup page. |fixed_url| is set to |
| 27 // the fixed up, valid URL if not null. |
| 28 bool FixupAndValidateStartupPage(const std::string& url_string, |
| 29 GURL* fixed_url); |
| 30 |
| 22 } // namespace settings_utils | 31 } // namespace settings_utils |
| 23 | 32 |
| 24 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_UTILS_H_ | 33 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_UTILS_H_ |
| OLD | NEW |