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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/physicalweb/NearbySubscription.java

Issue 2176373007: Use Nearby to background scan for URLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make some variables private static final Created 4 years, 5 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: chrome/android/java/src/org/chromium/chrome/browser/physicalweb/NearbySubscription.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/NearbySubscription.java b/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/NearbySubscription.java
index beb175f07067abc8a2e6e6ca8b42985baa7aadbb..336b768e8b88b9110fcb5c48f685a8d1ae9abbd0 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/NearbySubscription.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/NearbySubscription.java
@@ -25,6 +25,8 @@ import org.chromium.base.Log;
* and unsubscriptions to Nearby.
*/
abstract class NearbySubscription implements ConnectionCallbacks, OnConnectionFailedListener {
+ public static final int UNSUBSCRIBE = 0;
+ public static final int SUBSCRIBE = 1;
private static final String TAG = "PhysicalWeb";
private final GoogleApiClient mGoogleApiClient;
@@ -92,8 +94,4 @@ abstract class NearbySubscription implements ConnectionCallbacks, OnConnectionFa
protected GoogleApiClient getGoogleApiClient() {
return mGoogleApiClient;
}
-
- abstract void subscribe();
-
- abstract void unsubscribe();
}

Powered by Google App Engine
This is Rietveld 408576698