Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Issue 1616113003: List message decryption failures on chrome://gcm-internals (Closed)

Created:
4 years, 11 months ago by Peter Beverloo
Modified:
4 years, 11 months ago
Reviewers:
jianli
CC:
chromium-reviews, 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

List message decryption failures on chrome://gcm-internals This CL is basically just plumbing of a result code to an internal diagnosis page. Decryption is done at the level of the GCM Driver, while, for desktop, the GCMStatsRecorder is owned by the GCMClient several layers down, on another thread. BUG=569127 Committed: https://crrev.com/3b13f04b739480acc7d449ef5c4ba0157bb538b5 Cr-Commit-Position: refs/heads/master@{#371084}

Patch Set 1 #

Patch Set 2 : define dependency #

Patch Set 3 : android fix, integration-y test #

Patch Set 4 : rebase after CL 1619053003 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+286 lines, -10 lines) Patch
M components/gcm_driver/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/gcm_driver/crypto/gcm_encryption_provider.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/gcm_driver/crypto/gcm_encryption_provider.cc View 1 chunk +21 lines, -0 lines 0 comments Download
M components/gcm_driver/fake_gcm_client.h View 1 2 3 chunks +5 lines, -0 lines 0 comments Download
M components/gcm_driver/fake_gcm_client.cc View 1 2 1 chunk +13 lines, -1 line 0 comments Download
M components/gcm_driver/fake_gcm_driver.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/gcm_driver/fake_gcm_driver.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_activity.h View 2 chunks +9 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_activity.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_client.h View 2 chunks +6 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_client_impl.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_client_impl.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_driver.h View 1 chunk +5 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_driver.cc View 2 chunks +2 lines, -6 lines 0 comments Download
M components/gcm_driver/gcm_driver_android.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_driver_android.cc View 2 chunks +8 lines, -1 line 0 comments Download
M components/gcm_driver/gcm_driver_desktop.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_driver_desktop.cc View 3 chunks +21 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_driver_desktop_unittest.cc View 1 2 3 2 chunks +25 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_internals_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/gcm_driver/gcm_internals_constants.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/gcm_driver/gcm_internals_helper.cc View 2 chunks +21 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_stats_recorder_android.h View 3 chunks +11 lines, -2 lines 0 comments Download
M components/gcm_driver/gcm_stats_recorder_android.cc View 3 chunks +24 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_stats_recorder_android_unittest.cc View 1 2 3 chunks +8 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_stats_recorder_impl.h View 4 chunks +10 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_stats_recorder_impl.cc View 3 chunks +21 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_stats_recorder_impl_unittest.cc View 5 chunks +27 lines, -0 lines 0 comments Download
M components/gcm_driver/resources/gcm_internals.html View 1 chunk +13 lines, -0 lines 0 comments Download
M components/gcm_driver/resources/gcm_internals.js View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
Peter Beverloo
+jianli While this needs a few more tests, getting your high-level thoughts would be good. ...
4 years, 11 months ago (2016-01-21 20:16:46 UTC) #2
jianli
lgtm Do you also need to update DEPS? Also, please investigate abdroid trybot failures.
4 years, 11 months ago (2016-01-21 23:07:19 UTC) #3
Peter Beverloo
On 2016/01/21 23:07:19, jianli wrote: > lgtm > > Do you also need to update ...
4 years, 11 months ago (2016-01-22 15:19:58 UTC) #5
jianli
lgtm
4 years, 11 months ago (2016-01-22 21:58:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1616113003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1616113003/80001
4 years, 11 months ago (2016-01-22 22:00:48 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 11 months ago (2016-01-22 23:44:39 UTC) #9
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/3b13f04b739480acc7d449ef5c4ba0157bb538b5 Cr-Commit-Position: refs/heads/master@{#371084}
4 years, 11 months ago (2016-01-22 23:45:36 UTC) #11
Nico
4 years, 11 months ago (2016-01-23 23:03:07 UTC) #12
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:80001) has been created in
https://codereview.chromium.org/1627723002/ by [email protected].

The reason for reverting is: The test added in this CL is failing fairly
reliably on
https://build.chromium.org/p/chromium.mac/builders/iOS_Simulator_(dbg)

GCMDriverFunctionalTest.EncryptedMessageReceivedError: 
[9766:1803:0122/171135:1228193336123:ERROR:gcm_encryption_provider.cc(136)]
Invalid values supplied in the Crypto-Key header
/b/build/slave/iOS_Simulator__dbg_/build/src/components/gcm_driver/gcm_driver_desktop_unittest.cc:835:
Failure
Value of: statistics.recorded_activities.decryption_failure_activities.size()
  Actual: 0
Expected: 1u
Which is: 1.

Powered by Google App Engine
This is Rietveld 408576698