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

Unified Diff: device/nfc/nfc.mojom

Issue 1759373003: [webnfc] Implement nfc.watch in blink nfc module. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@implement_nfc_push_in_android
Patch Set: Rebased to master and improved tests Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: device/nfc/nfc.mojom
diff --git a/device/nfc/nfc.mojom b/device/nfc/nfc.mojom
index de744d8409dc8127ee5637f60187bb5e9c2cf067..e181f0533650853f2d0764c80d5859c09fe8fdd4 100644
--- a/device/nfc/nfc.mojom
+++ b/device/nfc/nfc.mojom
@@ -65,6 +65,9 @@ struct NFCMessage {
// path. It represents Web NFC id, that can be used for matching Web NFC
// content with the filter specified by |url| field in NFCWatchOptions.
string? url;
+
+ // Maximum size of NFC message that can be sent over IPC is 32KB.
+ const uint32 kMaxNFCMessageSize = 32768;
dcheng 2016/09/08 04:42:38 Nit: omit NFCMessage here, since the constant is e
shalamov 2016/09/22 13:53:22 Done.
};
struct NFCPushOptions {
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/nfc/push.html » ('j') | third_party/WebKit/Source/modules/nfc/NFC.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698