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 DEVICE_NFC_NFC_TAG_CHROMEOS_H_ | 5 #ifndef DEVICE_NFC_NFC_TAG_CHROMEOS_H_ |
6 #define DEVICE_NFC_NFC_TAG_CHROMEOS_H_ | 6 #define DEVICE_NFC_NFC_TAG_CHROMEOS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 dbus::ObjectPath object_path_; | 52 dbus::ObjectPath object_path_; |
53 | 53 |
54 // Stores whether or not the initial set of properties have been received. | 54 // Stores whether or not the initial set of properties have been received. |
55 bool is_ready_; | 55 bool is_ready_; |
56 | 56 |
57 // The NfcNdefTagTechnology instance that allows users to perform NDEF | 57 // The NfcNdefTagTechnology instance that allows users to perform NDEF |
58 // read and write on this tag. | 58 // read and write on this tag. |
59 scoped_ptr<NfcNdefTagTechnologyChromeOS> ndef_technology_; | 59 scoped_ptr<NfcNdefTagTechnologyChromeOS> ndef_technology_; |
60 | 60 |
61 // List of observers interested in event notifications from us. | 61 // List of observers interested in event notifications from us. |
62 ObserverList<device::NfcTag::Observer> observers_; | 62 base::ObserverList<device::NfcTag::Observer> observers_; |
63 | 63 |
64 DISALLOW_COPY_AND_ASSIGN(NfcTagChromeOS); | 64 DISALLOW_COPY_AND_ASSIGN(NfcTagChromeOS); |
65 }; | 65 }; |
66 | 66 |
67 } // namespace chromeos | 67 } // namespace chromeos |
68 | 68 |
69 #endif // DEVICE_NFC_NFC_TAG_CHROMEOS_H_ | 69 #endif // DEVICE_NFC_NFC_TAG_CHROMEOS_H_ |
OLD | NEW |