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

Issue 1832833002: Add InstanceIDWithSubtype.java to allow an Instance ID per website (Closed)

Created:
4 years, 9 months ago by johnme
Modified:
4 years, 8 months ago
CC:
chromium-reviews, Peter Beverloo, johnme+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add InstanceIDWithSubtype.java to allow an Instance ID per website Uses the protected constructor to create a subtype-specific InstanceID. Part of a series of patches: 1. this patch 2. https://codereview.chromium.org/1830983002 adds JNI bindings 3. https://codereview.chromium.org/1829023002 adds fake and test 4. https://codereview.chromium.org/1854093002 enables InstanceID by default 5. https://codereview.chromium.org/1851423003 switches Push to InstanceIDs I kept this initial patch separate to make it easier to review the core InstanceIDWithSubtype behavior without distractions. BUG=589461 Committed: https://crrev.com/fd602ac8826848de48089ae8ef8b04297bb214aa Cr-Commit-Position: refs/heads/master@{#387053}

Patch Set 1 #

Patch Set 2 : Simplify and rebase #

Total comments: 8

Patch Set 3 : Address peter's review comments #

Patch Set 4 : Fix typo #

Total comments: 2

Patch Set 5 : Improve comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -0 lines) Patch
A components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java View 1 2 3 4 1 chunk +72 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (8 generated)
johnme
4 years, 9 months ago (2016-03-24 14:52:38 UTC) #2
dgiorgini
lgtm
4 years, 9 months ago (2016-03-24 15:08:10 UTC) #4
johnme
4 years, 8 months ago (2016-04-05 19:10:38 UTC) #7
Peter Beverloo
https://codereview.chromium.org/1832833002/diff/20001/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java File components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java (right): https://codereview.chromium.org/1832833002/diff/20001/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java#newcode30 components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java:30: synchronized (InstanceID.class) { I find these synchronized statements on ...
4 years, 8 months ago (2016-04-11 13:31:57 UTC) #8
johnme
Addressed peter's review comments - thanks! https://codereview.chromium.org/1832833002/diff/20001/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java File components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java (right): https://codereview.chromium.org/1832833002/diff/20001/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java#newcode30 components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java:30: synchronized (InstanceID.class) { ...
4 years, 8 months ago (2016-04-12 15:26:30 UTC) #9
Peter Beverloo
lgtm % comment https://codereview.chromium.org/1832833002/diff/60001/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java File components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java (right): https://codereview.chromium.org/1832833002/diff/60001/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java#newcode31 components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java:31: public static InstanceIDWithSubtype getInstance(Context context, String ...
4 years, 8 months ago (2016-04-13 13:09:09 UTC) #10
johnme
Addressed nit - thanks! https://codereview.chromium.org/1832833002/diff/60001/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java File components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java (right): https://codereview.chromium.org/1832833002/diff/60001/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java#newcode31 components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java:31: public static InstanceIDWithSubtype getInstance(Context context, ...
4 years, 8 months ago (2016-04-13 18:09:21 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1832833002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1832833002/80001
4 years, 8 months ago (2016-04-13 18:10:08 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-13 18:53:49 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-13 18:56:30 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/fd602ac8826848de48089ae8ef8b04297bb214aa
Cr-Commit-Position: refs/heads/master@{#387053}

Powered by Google App Engine
This is Rietveld 408576698