[webnfc] Impl "typedef DOMString NDEFRecordType" #18868
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This CL switches the IDL type definition from
"enum NDEFRecordType { "empty", "text", "url", "json", "opaque" };"
to
"typedef DOMString NDEFRecordType" according to web-nfc spec.
This is in preparation for supporting 'smart-poster' and external type
records in the future, which was added in
w3c/web-nfc#278.
BUG=520391
Change-Id: I45ec31afb3841cc5b12c954ffc2821da357fef04
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1781510
Commit-Queue: Leon Han <leon.han@intel.com>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Cr-Commit-Position: refs/heads/master@{#694635}