OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 DEVICE_NFC_NFC_ADAPTER_CHROMEOS_H_ | 5 #ifndef DEVICE_NFC_NFC_ADAPTER_CHROMEOS_H_ |
6 #define DEVICE_NFC_NFC_ADAPTER_CHROMEOS_H_ | 6 #define DEVICE_NFC_NFC_ADAPTER_CHROMEOS_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
9 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
10 #include "chromeos/dbus/nfc_adapter_client.h" | 11 #include "chromeos/dbus/nfc_adapter_client.h" |
11 #include "chromeos/dbus/nfc_device_client.h" | 12 #include "chromeos/dbus/nfc_device_client.h" |
12 #include "chromeos/dbus/nfc_tag_client.h" | 13 #include "chromeos/dbus/nfc_tag_client.h" |
13 #include "dbus/object_path.h" | 14 #include "dbus/object_path.h" |
14 #include "device/nfc/nfc_adapter.h" | 15 #include "device/nfc/nfc_adapter.h" |
15 | 16 |
16 namespace device { | 17 namespace device { |
17 | 18 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 // Note: This should remain the last member so it'll be destroyed and | 104 // Note: This should remain the last member so it'll be destroyed and |
104 // invalidate its weak pointers before any other members are destroyed. | 105 // invalidate its weak pointers before any other members are destroyed. |
105 base::WeakPtrFactory<NfcAdapterChromeOS> weak_ptr_factory_; | 106 base::WeakPtrFactory<NfcAdapterChromeOS> weak_ptr_factory_; |
106 | 107 |
107 DISALLOW_COPY_AND_ASSIGN(NfcAdapterChromeOS); | 108 DISALLOW_COPY_AND_ASSIGN(NfcAdapterChromeOS); |
108 }; | 109 }; |
109 | 110 |
110 } // namespace chromeos | 111 } // namespace chromeos |
111 | 112 |
112 #endif // DEVICE_NFC_NFC_ADAPTER_CHROMEOS_H_ | 113 #endif // DEVICE_NFC_NFC_ADAPTER_CHROMEOS_H_ |
OLD | NEW |