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

Unified Diff: device/nfc/nfc_provider.mojom

Issue 2865653002: [Device Service] Decouple NFC implementation from //content (Closed)
Patch Set: Rebase Created 3 years, 7 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
« no previous file with comments | « device/nfc/nfc.mojom ('k') | device/nfc/public/java/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/nfc/nfc_provider.mojom
diff --git a/device/nfc/nfc_provider.mojom b/device/nfc/nfc_provider.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..030ad6fe450a2e72c62ad67247397cd73e630ba9
--- /dev/null
+++ b/device/nfc/nfc_provider.mojom
@@ -0,0 +1,15 @@
+// Copyright 2017 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.
+
+// TODO(blundell): This should be moved to device.mojom.
+module device.nfc.mojom;
+
+import "device/nfc/nfc.mojom";
+
+interface NFCProvider {
+ // Gets an NFC that is associated with |host_id|. |host_id|
+ // is used to obtain the Activity that this NFC instance should use on
+ // Android (see NFCDelegate.java).
+ GetNFCForHost(int32 host_id, NFC& nfc);
+};
« no previous file with comments | « device/nfc/nfc.mojom ('k') | device/nfc/public/java/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698