Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(390)

Side by Side Diff: device/nfc/nfc_ndef_record.h

Issue 1542163002: Switch to standard integer types in device/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « device/nfc/nfc_chromeos_unittest.cc ('k') | device/nfc/nfc_ndef_record.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_NDEF_RECORD_H_ 5 #ifndef DEVICE_NFC_NFC_NDEF_RECORD_H_
6 #define DEVICE_NFC_NFC_NDEF_RECORD_H_ 6 #define DEVICE_NFC_NFC_NDEF_RECORD_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/macros.h"
11 #include "base/values.h" 12 #include "base/values.h"
12 13
13 namespace device { 14 namespace device {
14 15
15 // NfcNdefRecord represents an NDEF (NFC Data Exchange Format) record. NDEF is 16 // NfcNdefRecord represents an NDEF (NFC Data Exchange Format) record. NDEF is
16 // a light-weight binary format specified by the NFC Forum for transmission and 17 // a light-weight binary format specified by the NFC Forum for transmission and
17 // storage of typed data over NFC. NDEF defines two constructs: NDEF records and 18 // storage of typed data over NFC. NDEF defines two constructs: NDEF records and
18 // messages. An NDEF record contains typed data, such as MIME-type media, a URI, 19 // messages. An NDEF record contains typed data, such as MIME-type media, a URI,
19 // or a custom application payload, whereas an NDEF message is a container for 20 // or a custom application payload, whereas an NDEF message is a container for
20 // one or more NDEF records. 21 // one or more NDEF records.
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 private: 159 private:
159 // The NDEF records that are contained by this message. 160 // The NDEF records that are contained by this message.
160 RecordList records_; 161 RecordList records_;
161 162
162 DISALLOW_COPY_AND_ASSIGN(NfcNdefMessage); 163 DISALLOW_COPY_AND_ASSIGN(NfcNdefMessage);
163 }; 164 };
164 165
165 } // namespace device 166 } // namespace device
166 167
167 #endif // DEVICE_NFC_NFC_NDEF_RECORD_H_ 168 #endif // DEVICE_NFC_NFC_NDEF_RECORD_H_
OLDNEW
« no previous file with comments | « device/nfc/nfc_chromeos_unittest.cc ('k') | device/nfc/nfc_ndef_record.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698