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

Unified Diff: device/nfc/public/java/src/org/chromium/device/nfc/NfcDelegate.java

Issue 2894373002: [DeviceService] Move //device/nfc to be part of the internal impl of Device Service (Closed)
Patch Set: Modify code comment 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/public/java/BUILD.gn ('k') | services/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/nfc/public/java/src/org/chromium/device/nfc/NfcDelegate.java
diff --git a/device/nfc/public/java/src/org/chromium/device/nfc/NfcDelegate.java b/device/nfc/public/java/src/org/chromium/device/nfc/NfcDelegate.java
deleted file mode 100644
index 9b144dc3d4cc3a48f0d95e7f23f2b404b4cc09f7..0000000000000000000000000000000000000000
--- a/device/nfc/public/java/src/org/chromium/device/nfc/NfcDelegate.java
+++ /dev/null
@@ -1,24 +0,0 @@
-// 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.
-
-package org.chromium.device.nfc;
-
-import android.app.Activity;
-
-import org.chromium.base.Callback;
-
-/** Interface that allows the NFC implementation to access the Activity associated with a given
- * client. |hostId| is the same ID passed in NFCProvider::GetNFCForHost().
- */
-public interface NfcDelegate {
- /** Calls |callback| with the Activity associated with |hostId|, and subsequently calls
- * |callback| again whenever the Activity associated with |hostId| changes.
- */
- void trackActivityForHost(int hostId, Callback<Activity> callback);
-
- /** Called when the NFC implementation no longer needs to track the Activity associated with
- * |hostId|.
- */
- void stopTrackingActivityForHost(int hostId);
-}
« no previous file with comments | « device/nfc/public/java/BUILD.gn ('k') | services/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698