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_PEER_H_ | 5 #ifndef DEVICE_NFC_NFC_PEER_H_ |
6 #define DEVICE_NFC_NFC_PEER_H_ | 6 #define DEVICE_NFC_NFC_PEER_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 "device/nfc/nfc_ndef_record.h" | 14 #include "device/nfc/nfc_ndef_record.h" |
14 | 15 |
15 namespace device { | 16 namespace device { |
16 | 17 |
17 // NfcPeer represents a remote NFC adapter that is available for P2P | 18 // NfcPeer represents a remote NFC adapter that is available for P2P |
18 // communication with the local adapter. Instances of NfcPeer allow two | 19 // communication with the local adapter. Instances of NfcPeer allow two |
19 // kinds of P2P interaction that is supported by NFC: | 20 // kinds of P2P interaction that is supported by NFC: |
20 // | 21 // |
21 // - NDEF. Specifically, reading NDEF records found on the peer device and | 22 // - NDEF. Specifically, reading NDEF records found on the peer device and |
22 // pushing NDEF records to it (e.g. via SNEP or Android Beam), in the form | 23 // pushing NDEF records to it (e.g. via SNEP or Android Beam), in the form |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 protected: | 84 protected: |
84 NfcPeer(); | 85 NfcPeer(); |
85 | 86 |
86 private: | 87 private: |
87 DISALLOW_COPY_AND_ASSIGN(NfcPeer); | 88 DISALLOW_COPY_AND_ASSIGN(NfcPeer); |
88 }; | 89 }; |
89 | 90 |
90 } // namespace device | 91 } // namespace device |
91 | 92 |
92 #endif // DEVICE_NFC_NFC_PEER_H_ | 93 #endif // DEVICE_NFC_NFC_PEER_H_ |
OLD | NEW |