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

Unified Diff: device/nfc/nfc_provider.mojom

Issue 2865653002: [Device Service] Decouple NFC implementation from //content (Closed)
Patch Set: extra fix 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
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..51cfe8605ae06ecf49815fa3c945a39daa0cac27
--- /dev/null
+++ b/device/nfc/nfc_provider.mojom
@@ -0,0 +1,16 @@
+// 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 {
+
Ken Rockot(use gerrit already) 2017/05/08 15:45:07 nit: no vertical space
blundell 2017/05/09 14:46:19 heh, I don't know why I have this impulse to do th
+ // 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);
+};

Powered by Google App Engine
This is Rietveld 408576698