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

Issue 870053008: 64-bit token fixes (Closed)

Created:
5 years, 10 months ago by Charlie
Modified:
5 years, 10 months ago
Reviewers:
rkc, xiyuan
CC:
chromium-reviews, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

64-bit token fixes BUG=453523 Committed: https://crrev.com/7cf6cbe2f59986f6d87b775d2856cfd799b158fb Cr-Commit-Position: refs/heads/master@{#314023}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Initializing the token length #

Patch Set 3 : Clarifying token parameter #

Patch Set 4 : Padding the token in JS #

Patch Set 5 : Fixing Whispernet test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -14 lines) Patch
M chrome/browser/copresence/chrome_whispernet_client_browsertest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/whispernet_proxy/js/wrapper.js View 1 2 3 2 chunks +8 lines, -2 lines 0 comments Download
M components/copresence/handlers/audio/audio_directive_handler_impl.cc View 2 chunks +10 lines, -7 lines 0 comments Download
M components/copresence/mediums/audio/audio_manager.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/copresence/mediums/audio/audio_manager_impl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/copresence/mediums/audio/audio_manager_impl.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
Charlie
This fixes the two issues listed in the bug: 1. Token lengths are not passed ...
5 years, 10 months ago (2015-01-29 22:51:24 UTC) #2
Charlie
R += xiyuan in case you can take a look this evening.
5 years, 10 months ago (2015-01-30 01:56:45 UTC) #4
xiyuan
lgtm https://codereview.chromium.org/870053008/diff/1/chrome/browser/resources/whispernet_proxy/js/wrapper.js File chrome/browser/resources/whispernet_proxy/js/wrapper.js (right): https://codereview.chromium.org/870053008/diff/1/chrome/browser/resources/whispernet_proxy/js/wrapper.js#newcode89 chrome/browser/resources/whispernet_proxy/js/wrapper.js:89: { token: bytesToBase64(msg.token), audible: msg.audible }, msg.samples); On ...
5 years, 10 months ago (2015-01-30 02:16:55 UTC) #5
chromium-reviews
Actually come to think of it, I don't see how the token would play at ...
5 years, 10 months ago (2015-01-30 05:14:00 UTC) #6
rkc
Shouldn't we also be converting the token we get from the server to padded also? ...
5 years, 10 months ago (2015-01-30 18:22:23 UTC) #7
chromium-reviews
Probably. However it seems that the implementation checks only if the padding added is incorrect, ...
5 years, 10 months ago (2015-01-30 18:46:58 UTC) #8
Charlie
Uploaded the TODO and some other clarifications. It looks like we're using the unpadded token ...
5 years, 10 months ago (2015-01-30 20:03:25 UTC) #9
rkc
lgtm
5 years, 10 months ago (2015-01-30 20:06:57 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/870053008/60001
5 years, 10 months ago (2015-01-30 21:05:04 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/20095)
5 years, 10 months ago (2015-01-30 22:06:23 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/870053008/80001
5 years, 10 months ago (2015-01-30 22:41:32 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-01-30 23:22:23 UTC) #17
commit-bot: I haz the power
5 years, 10 months ago (2015-01-30 23:23:25 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/7cf6cbe2f59986f6d87b775d2856cfd799b158fb
Cr-Commit-Position: refs/heads/master@{#314023}

Powered by Google App Engine
This is Rietveld 408576698