OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 // TODO(blundell): This should be moved to device.mojom. | 5 // TODO(blundell): This should be moved to device.mojom. |
6 module device.nfc.mojom; | 6 module device.nfc.mojom; |
7 | 7 |
8 import "device/nfc/nfc.mojom"; | 8 import "services/device/public/interfaces/nfc.mojom"; |
9 | 9 |
10 interface NFCProvider { | 10 interface NFCProvider { |
11 // Gets an NFC that is associated with |host_id|. |host_id| | 11 // Gets an NFC that is associated with |host_id|. |host_id| |
12 // is used to obtain the Activity that this NFC instance should use on | 12 // is used to obtain the Activity that this NFC instance should use on |
13 // Android (see NFCDelegate.java). | 13 // Android (see NFCDelegate.java). |
14 GetNFCForHost(int32 host_id, NFC& nfc); | 14 GetNFCForHost(int32 host_id, NFC& nfc); |
15 }; | 15 }; |
OLD | NEW |