| 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_TAG_H_ | 5 #ifndef DEVICE_NFC_NFC_TAG_H_ |
| 6 #define DEVICE_NFC_NFC_TAG_H_ | 6 #define DEVICE_NFC_NFC_TAG_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "device/nfc/nfc_tag_technology.h" | 9 #include "device/nfc/nfc_tag_technology.h" |
| 9 | 10 |
| 10 namespace device { | 11 namespace device { |
| 11 | 12 |
| 12 // NfcTag represents a remote NFC tag. An NFC tag is a passive NFC device, | 13 // NfcTag represents a remote NFC tag. An NFC tag is a passive NFC device, |
| 13 // powered by the NFC field of the local adapter while it is in range. Tags | 14 // powered by the NFC field of the local adapter while it is in range. Tags |
| 14 // can come in many forms, such as stickers, key fobs, or even embedded in a | 15 // can come in many forms, such as stickers, key fobs, or even embedded in a |
| 15 // more sofisticated device. | 16 // more sofisticated device. |
| 16 // | 17 // |
| 17 // Tags can have a wide range of capabilities. Simple tags just offer | 18 // Tags can have a wide range of capabilities. Simple tags just offer |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 protected: | 104 protected: |
| 104 NfcTag(); | 105 NfcTag(); |
| 105 | 106 |
| 106 private: | 107 private: |
| 107 DISALLOW_COPY_AND_ASSIGN(NfcTag); | 108 DISALLOW_COPY_AND_ASSIGN(NfcTag); |
| 108 }; | 109 }; |
| 109 | 110 |
| 110 } // namespace device | 111 } // namespace device |
| 111 | 112 |
| 112 #endif // DEVICE_NFC_NFC_TAG_H_ | 113 #endif // DEVICE_NFC_NFC_TAG_H_ |
| OLD | NEW |