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_OPTIONS2_ADVANCED_OPTIONS_UTILS2_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_ADVANCED_OPTIONS_UTILS2_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_ADVANCED_OPTIONS_UTILS2_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_ADVANCED_OPTIONS_UTILS2_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 namespace options2 { | 14 namespace options2 { |
13 | 15 |
14 // Chrome advanced options utility methods. | 16 // Chrome advanced options utility methods. |
15 class AdvancedOptionsUtilities { | 17 class AdvancedOptionsUtilities { |
16 public: | 18 public: |
17 // Invoke UI for network proxy settings. | 19 // Invoke UI for network proxy settings. |
18 static void ShowNetworkProxySettings(TabContents*); | 20 static void ShowNetworkProxySettings(content::WebContents*); |
19 | 21 |
20 // Invoke UI for SSL certificates. | 22 // Invoke UI for SSL certificates. |
21 static void ShowManageSSLCertificates(TabContents*); | 23 static void ShowManageSSLCertificates(content::WebContents*); |
22 | 24 |
23 private: | 25 private: |
24 DISALLOW_IMPLICIT_CONSTRUCTORS(AdvancedOptionsUtilities); | 26 DISALLOW_IMPLICIT_CONSTRUCTORS(AdvancedOptionsUtilities); |
25 }; | 27 }; |
26 | 28 |
27 } // namespace options2 | 29 } // namespace options2 |
28 | 30 |
29 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_ADVANCED_OPTIONS_UTILS2_H_ | 31 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_ADVANCED_OPTIONS_UTILS2_H_ |
OLD | NEW |