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_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_ |
7 | 7 |
| 8 #include <memory> |
8 #include <string> | 9 #include <string> |
9 | 10 |
10 #include "base/callback.h" | 11 #include "base/callback.h" |
11 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
12 #include "base/macros.h" | 13 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "chrome/browser/ui/webui/options/options_ui.h" | 15 #include "chrome/browser/ui/webui/options/options_ui.h" |
16 | 16 |
17 namespace base { | 17 namespace base { |
18 class DictionaryValue; | 18 class DictionaryValue; |
19 } | 19 } |
20 | 20 |
21 namespace chromeos { | 21 namespace chromeos { |
22 namespace options { | 22 namespace options { |
23 | 23 |
24 // Handler for Bluetooth options on the system options page. | 24 // Handler for Bluetooth options on the system options page. |
25 class BluetoothOptionsHandler : public ::options::OptionsPageUIHandler { | 25 class BluetoothOptionsHandler : public ::options::OptionsPageUIHandler { |
26 public: | 26 public: |
27 BluetoothOptionsHandler(); | 27 BluetoothOptionsHandler(); |
28 ~BluetoothOptionsHandler() override; | 28 ~BluetoothOptionsHandler() override; |
29 | 29 |
30 // OptionsPageUIHandler implementation. | 30 // OptionsPageUIHandler implementation. |
31 void GetLocalizedValues(base::DictionaryValue* localized_strings) override; | 31 void GetLocalizedValues(base::DictionaryValue* localized_strings) override; |
32 | 32 |
33 private: | 33 private: |
34 DISALLOW_COPY_AND_ASSIGN(BluetoothOptionsHandler); | 34 DISALLOW_COPY_AND_ASSIGN(BluetoothOptionsHandler); |
35 }; | 35 }; |
36 | 36 |
37 } // namespace options | 37 } // namespace options |
38 } // namespace chromeos | 38 } // namespace chromeos |
39 | 39 |
40 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_ | 40 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_ |
OLD | NEW |