OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHROMEOS_PROXY_HANDLER2_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_PROXY_HANDLER2_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_PROXY_HANDLER2_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_PROXY_HANDLER2_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "chrome/browser/ui/webui/options2/options_ui2.h" | 9 #include "chrome/browser/ui/webui/options2/options_ui2.h" |
10 | 10 |
11 namespace chromeos { | 11 namespace chromeos { |
12 namespace options2 { | 12 namespace options2 { |
13 | 13 |
14 // ChromeOS proxy options page UI handler. | 14 // ChromeOS proxy options page UI handler. |
15 class ProxyHandler : public OptionsPageUIHandler { | 15 class ProxyHandler : public ::options2::OptionsPageUIHandler { |
16 public: | 16 public: |
17 explicit ProxyHandler(); | 17 explicit ProxyHandler(); |
18 virtual ~ProxyHandler(); | 18 virtual ~ProxyHandler(); |
19 | 19 |
20 // OptionsPageUIHandler implementation. | 20 // OptionsPageUIHandler implementation. |
21 virtual void GetLocalizedValues( | 21 virtual void GetLocalizedValues( |
22 base::DictionaryValue* localized_strings) OVERRIDE; | 22 base::DictionaryValue* localized_strings) OVERRIDE; |
23 | 23 |
24 // Set network name for proxy page title. | 24 // Set network name for proxy page title. |
25 void SetNetworkName(const std::string& name); | 25 void SetNetworkName(const std::string& name); |
26 | 26 |
27 private: | 27 private: |
28 | 28 |
29 DISALLOW_COPY_AND_ASSIGN(ProxyHandler); | 29 DISALLOW_COPY_AND_ASSIGN(ProxyHandler); |
30 }; | 30 }; |
31 | 31 |
32 } // namespace options2 | 32 } // namespace options2 |
33 } // namespace chromeos | 33 } // namespace chromeos |
34 | 34 |
35 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_PROXY_HANDLER2_H_ | 35 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_PROXY_HANDLER2_H_ |
OLD | NEW |