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

Issue 1923953002: Integrate InstanceID with GCM crypto provider (Closed)

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

Description

Integrate InstanceID with GCM crypto provider It's now possible to get per-token encryption information from an InstanceID; and this is automatically removed when DeleteToken or DeleteID are called. Part of a series of patches: 1. https://codereview.chromium.org/1832833002 adds InstanceIDWithSubtype 2. https://codereview.chromium.org/1830983002 adds JNI bindings 3. https://codereview.chromium.org/1829023002 adds fake and test 4. https://codereview.chromium.org/1899753002 fixes strict mode violations 5. https://codereview.chromium.org/1854093002 enables InstanceID by default 6. https://codereview.chromium.org/1953273002 extends the GCMKeyStore 7. this patch 8. https://codereview.chromium.org/1851423003 switches Push to InstanceIDs BUG=589461 Committed: https://crrev.com/a00cc8ae26668aadb3ac84919c85e8672ed84f28 Cr-Commit-Position: refs/heads/master@{#397388}

Patch Set 1 #

Patch Set 2 : Add tests #

Patch Set 3 : Fix typos #

Patch Set 4 : Moved non-IID changes to https://codereview.chromium.org/1953273002 #

Patch Set 5 : Rebase and add omitted InstanceID::GetEncryptionInfo #

Patch Set 6 : Fix Android compile #

Total comments: 10

Patch Set 7 : Address review nits #

Patch Set 8 : Fix typo #

Patch Set 9 : RunUntilIdle after deleting GCMDriver #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -59 lines) Patch
M components/gcm_driver/gcm_driver.h View 1 2 3 4 5 6 2 chunks +6 lines, -2 lines 0 comments Download
M components/gcm_driver/gcm_driver.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M components/gcm_driver/instance_id/fake_gcm_driver_for_instance_id.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M components/gcm_driver/instance_id/instance_id.h View 1 2 3 4 5 6 4 chunks +40 lines, -10 lines 0 comments Download
M components/gcm_driver/instance_id/instance_id.cc View 1 2 3 4 5 6 7 2 chunks +45 lines, -1 line 0 comments Download
M components/gcm_driver/instance_id/instance_id_android.h View 1 2 3 4 5 2 chunks +5 lines, -5 lines 0 comments Download
M components/gcm_driver/instance_id/instance_id_android.cc View 1 2 3 4 5 6 7 3 chunks +9 lines, -8 lines 0 comments Download
M components/gcm_driver/instance_id/instance_id_driver.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M components/gcm_driver/instance_id/instance_id_driver_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -1 line 0 comments Download
M components/gcm_driver/instance_id/instance_id_impl.h View 1 2 3 4 5 6 4 chunks +7 lines, -8 lines 0 comments Download
M components/gcm_driver/instance_id/instance_id_impl.cc View 1 2 3 4 5 6 5 chunks +24 lines, -19 lines 0 comments Download

Messages

Total messages: 28 (15 generated)
johnme
4 years, 7 months ago (2016-04-28 14:09:03 UTC) #4
Peter Beverloo
Hey John, Thanks for the CL! Firstly, let's split this up in two CLs: one ...
4 years, 7 months ago (2016-05-04 13:58:53 UTC) #5
johnme
Addressed review comments. > Thanks for the CL! Firstly, let's split this up in two ...
4 years, 7 months ago (2016-05-06 12:33:01 UTC) #8
Peter Beverloo
Thank you, John! https://codereview.chromium.org/1923953002/diff/100001/components/gcm_driver/gcm_driver.h File components/gcm_driver/gcm_driver.h (right): https://codereview.chromium.org/1923953002/diff/100001/components/gcm_driver/gcm_driver.h#newcode242 components/gcm_driver/gcm_driver.h:242: GCMEncryptionProvider* encryption_provider_internal() { (1) Please move ...
4 years, 7 months ago (2016-05-11 16:05:00 UTC) #9
Peter Beverloo
lgtm % the duplicated pointer in InstanceIdImpl
4 years, 7 months ago (2016-05-11 16:05:31 UTC) #10
johnme
Addressed review nits - thanks! https://codereview.chromium.org/1923953002/diff/100001/components/gcm_driver/gcm_driver.h File components/gcm_driver/gcm_driver.h (right): https://codereview.chromium.org/1923953002/diff/100001/components/gcm_driver/gcm_driver.h#newcode242 components/gcm_driver/gcm_driver.h:242: GCMEncryptionProvider* encryption_provider_internal() { On ...
4 years, 7 months ago (2016-05-13 16:25:45 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923953002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923953002/120001
4 years, 7 months ago (2016-05-13 16:26:10 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/5165)
4 years, 7 months ago (2016-05-13 16:35:28 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923953002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923953002/140001
4 years, 7 months ago (2016-05-24 17:30:48 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/166616)
4 years, 7 months ago (2016-05-24 19:04:18 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923953002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923953002/160001
4 years, 6 months ago (2016-06-02 12:58:13 UTC) #24
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 6 months ago (2016-06-02 13:58:16 UTC) #26
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 14:00:01 UTC) #28
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/a00cc8ae26668aadb3ac84919c85e8672ed84f28
Cr-Commit-Position: refs/heads/master@{#397388}

Powered by Google App Engine
This is Rietveld 408576698