OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_OPTIONS_ADVANCED_OPTIONS_UTILS_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_UTILS_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_UTILS_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_UTILS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 | 9 |
10 class TabContents; | 10 namespace content { |
| 11 class WebContents; |
| 12 } |
11 | 13 |
12 // Chrome advanced options utility methods. | 14 // Chrome advanced options utility methods. |
13 class AdvancedOptionsUtilities { | 15 class AdvancedOptionsUtilities { |
14 public: | 16 public: |
15 // Invoke UI for network proxy settings. | 17 // Invoke UI for network proxy settings. |
16 static void ShowNetworkProxySettings(TabContents*); | 18 static void ShowNetworkProxySettings(content::WebContents*); |
17 | 19 |
18 // Invoke UI for SSL certificates. | 20 // Invoke UI for SSL certificates. |
19 static void ShowManageSSLCertificates(TabContents*); | 21 static void ShowManageSSLCertificates(content::WebContents*); |
20 | 22 |
21 private: | 23 private: |
22 DISALLOW_IMPLICIT_CONSTRUCTORS(AdvancedOptionsUtilities); | 24 DISALLOW_IMPLICIT_CONSTRUCTORS(AdvancedOptionsUtilities); |
23 }; | 25 }; |
24 | 26 |
25 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_UTILS_H_ | 27 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_UTILS_H_ |
OLD | NEW |