OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 ASH_SYSTEM_CHROMEOS_BLUETOOTH_BLUETOOTH_NOTIFICATION_CONTROLLER_H_ | 5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_BLUETOOTH_BLUETOOTH_NOTIFICATION_CONTROLLER_H
_ |
6 #define ASH_SYSTEM_CHROMEOS_BLUETOOTH_BLUETOOTH_NOTIFICATION_CONTROLLER_H_ | 6 #define ASH_COMMON_SYSTEM_CHROMEOS_BLUETOOTH_BLUETOOTH_NOTIFICATION_CONTROLLER_H
_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <set> | 10 #include <set> |
| 11 #include <string> |
11 | 12 |
12 #include "ash/ash_export.h" | 13 #include "ash/ash_export.h" |
13 #include "base/compiler_specific.h" | |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "base/strings/string16.h" | 17 #include "base/strings/string16.h" |
18 #include "device/bluetooth/bluetooth_adapter.h" | 18 #include "device/bluetooth/bluetooth_adapter.h" |
19 #include "device/bluetooth/bluetooth_device.h" | 19 #include "device/bluetooth/bluetooth_device.h" |
20 | 20 |
21 namespace ash { | 21 namespace ash { |
22 | 22 |
23 // The BluetoothNotificationController receives incoming pairing requests from | 23 // The BluetoothNotificationController receives incoming pairing requests from |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 84 |
85 // Note: This should remain the last member so it'll be destroyed and | 85 // Note: This should remain the last member so it'll be destroyed and |
86 // invalidate its weak pointers before any other members are destroyed. | 86 // invalidate its weak pointers before any other members are destroyed. |
87 base::WeakPtrFactory<BluetoothNotificationController> weak_ptr_factory_; | 87 base::WeakPtrFactory<BluetoothNotificationController> weak_ptr_factory_; |
88 | 88 |
89 DISALLOW_COPY_AND_ASSIGN(BluetoothNotificationController); | 89 DISALLOW_COPY_AND_ASSIGN(BluetoothNotificationController); |
90 }; | 90 }; |
91 | 91 |
92 } // namespace ash | 92 } // namespace ash |
93 | 93 |
94 #endif // ASH_SYSTEM_CHROMEOS_BLUETOOTH_BLUETOOTH_NOTIFICATION_CONTROLLER_H_ | 94 #endif // ASH_COMMON_SYSTEM_CHROMEOS_BLUETOOTH_BLUETOOTH_NOTIFICATION_CONTROLLE
R_H_ |
OLD | NEW |