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

Unified Diff: components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java

Issue 1851423003: Make Web Push use InstanceID tokens instead of GCM registrations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iid4default
Patch Set: Rebase Created 4 years, 3 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: components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java
diff --git a/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java b/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java
index 9c8da3e408adb89204d6f0b284ffa8b7ce2be56c..bd4d2df8b7f42a79c27245eb8a69ed5a747e6e37 100644
--- a/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java
+++ b/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java
@@ -26,7 +26,7 @@ public class InstanceIDWithSubtype extends InstanceID {
/** Cached instances. May be accessed from multiple threads; synchronize on InstanceID.class. */
@VisibleForTesting
@SuppressFBWarnings("MS_MUTABLE_COLLECTION_PKGPROTECT")
- protected static final Map<String, InstanceIDWithSubtype> sSubtypeInstances = new HashMap<>();
+ public static final Map<String, InstanceIDWithSubtype> sSubtypeInstances = new HashMap<>();
/** Fake subclasses can set this so getInstance creates instances of them. */
@VisibleForTesting

Powered by Google App Engine
This is Rietveld 408576698