| Index: modules/nfc/NFCPushOptions.idl
|
| diff --git a/modules/nfc/NFCPushOptions.idl b/modules/nfc/NFCPushOptions.idl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c7c78fb543d0106faa9ffa318893ae81da6196e6
|
| --- /dev/null
|
| +++ b/modules/nfc/NFCPushOptions.idl
|
| @@ -0,0 +1,13 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// https://w3c.github.io/web-nfc/#the-nfcpushoptions-dictionary
|
| +
|
| +enum NFCPushTarget { "tag", "peer", "any" };
|
| +
|
| +dictionary NFCPushOptions {
|
| + NFCPushTarget target = "any";
|
| + unrestricted double timeout; // in ms
|
| + boolean ignoreRead = true;
|
| +};
|
|
|