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 bf5ec63a1bdd951a802680eac593d90fc6cb1f50..5ec9c0c6a49d65e832eb8439e46722f07caa787a 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 |
@@ -24,7 +24,7 @@ public class InstanceIDWithSubtype extends InstanceID { |
/** Cached instances. May be accessed from multiple threads; synchronize on InstanceID.class. */ |
@VisibleForTesting |
- protected static Map<String, InstanceIDWithSubtype> sSubtypeInstances = new HashMap<>(); |
+ public static Map<String, InstanceIDWithSubtype> sSubtypeInstances = new HashMap<>(); |
Peter Beverloo
2016/04/21 13:26:19
Have you considered adding a public (for testing)
johnme
2016/05/25 14:11:51
Done.
|
/** Fake subclasses can set this so getInstance creates instances of them. */ |
@VisibleForTesting |