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_H_ | 5 #ifndef DEVICE_NFC_NFC_ADAPTER_H_ |
6 #define DEVICE_NFC_NFC_ADAPTER_H_ | 6 #define DEVICE_NFC_NFC_ADAPTER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
14 | 15 |
15 namespace device { | 16 namespace device { |
16 | 17 |
17 class NfcPeer; | 18 class NfcPeer; |
18 class NfcTag; | 19 class NfcTag; |
19 | 20 |
20 // NfcAdapter represents a local NFC adapter which may be used to interact with | 21 // NfcAdapter represents a local NFC adapter which may be used to interact with |
21 // NFC tags and remote NFC adapters on platforms that support NFC. Through | 22 // NFC tags and remote NFC adapters on platforms that support NFC. Through |
22 // instances of this class, users can obtain important information such as if | 23 // instances of this class, users can obtain important information such as if |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 // Peers and tags that are managed by this adapter. | 202 // Peers and tags that are managed by this adapter. |
202 PeersMap peers_; | 203 PeersMap peers_; |
203 TagsMap tags_; | 204 TagsMap tags_; |
204 | 205 |
205 DISALLOW_COPY_AND_ASSIGN(NfcAdapter); | 206 DISALLOW_COPY_AND_ASSIGN(NfcAdapter); |
206 }; | 207 }; |
207 | 208 |
208 } // namespace device | 209 } // namespace device |
209 | 210 |
210 #endif // DEVICE_NFC_NFC_ADAPTER_H_ | 211 #endif // DEVICE_NFC_NFC_ADAPTER_H_ |
OLD | NEW |