| 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_BLUETOOTH_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "chrome/browser/chromeos/bluetooth/bluetooth_adapter.h" | 13 #include "chrome/browser/chromeos/bluetooth/bluetooth_adapter.h" |
| 14 #include "chrome/browser/chromeos/bluetooth/bluetooth_device.h" | 14 #include "chrome/browser/chromeos/bluetooth/bluetooth_device.h" |
| 15 #include "chrome/browser/ui/webui/options2/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, |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 // Weak pointer factory for generating 'this' pointers that might live longer | 188 // Weak pointer factory for generating 'this' pointers that might live longer |
| 189 // than this object does. | 189 // than this object does. |
| 190 base::WeakPtrFactory<BluetoothOptionsHandler> weak_ptr_factory_; | 190 base::WeakPtrFactory<BluetoothOptionsHandler> weak_ptr_factory_; |
| 191 | 191 |
| 192 DISALLOW_COPY_AND_ASSIGN(BluetoothOptionsHandler); | 192 DISALLOW_COPY_AND_ASSIGN(BluetoothOptionsHandler); |
| 193 }; | 193 }; |
| 194 | 194 |
| 195 } // namespace options | 195 } // namespace options |
| 196 } // namespace chromeos | 196 } // namespace chromeos |
| 197 | 197 |
| 198 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H
_ | 198 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_ |
| OLD | NEW |