| Index: third_party/WebKit/Source/modules/nfc/NFCRecord.idl
|
| diff --git a/third_party/WebKit/Source/modules/nfc/NFCRecord.idl b/third_party/WebKit/Source/modules/nfc/NFCRecord.idl
|
| index e3576b28967665212fcedfc0841f51082f5217db..a20ccbbc17d437cd002d7150e57e6a7a5e7e7b37 100644
|
| --- a/third_party/WebKit/Source/modules/nfc/NFCRecord.idl
|
| +++ b/third_party/WebKit/Source/modules/nfc/NFCRecord.idl
|
| @@ -6,11 +6,13 @@
|
|
|
| enum NFCRecordType { "empty", "text", "url", "json", "opaque" };
|
|
|
| -[
|
| - RuntimeEnabled=WebNFC,
|
| -] dictionary NFCRecord {
|
| - NFCRecordType kind; // based on TNF + JSON.
|
| - USVString type; // IANA media type, with parameters.
|
| - // TODO(riju_): https://crbug.com/537133
|
| - any data; // null, string (text, url), Object (json), ArrayBuffer.
|
| +// typedef (DOMString or unrestricted double or object or ArrayBuffer) NFCRecordData;
|
| +
|
| +dictionary NFCRecord {
|
| + NFCRecordType kind;
|
| + USVString type;
|
| + // NFCRecordData data;
|
| + // Use ´any´ as Blink IDL compiler complains that Object is not supported as
|
| + // union member. Tracked in https://crbug.com/537133 .
|
| + any data;
|
| };
|
|
|