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

Issue 444373004: Add Audible support to the whispernet client. (Closed)

Created:
6 years, 4 months ago by rkc
Modified:
6 years, 4 months ago
CC:
chromium-reviews, arv+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Add Audible support to the whispernet client. This CL adds the ability to do encoding/decoding of tokens in the audible range. It also simplifies the parameters we send in to the whispernet pnacl wrapper. All the parameters removed are now picked up as defaults in the wrapper itself. There is literally no reason we'd ever touch those defaults hence it made no sense to send them hardcoded from wrapper.js. R=ckehoe@chromium.org BUG=390393 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288374

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -65 lines) Patch
M chrome/browser/copresence/chrome_whispernet_client.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/copresence/chrome_whispernet_client.cc View 1 2 3 2 chunks +5 lines, -14 lines 0 comments Download
M chrome/browser/copresence/chrome_whispernet_client_browsertest.cc View 1 2 3 4 5 4 chunks +15 lines, -12 lines 0 comments Download
M chrome/browser/resources/whispernet_proxy/js/init.js View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/resources/whispernet_proxy/js/wrapper.js View 1 2 3 4 chunks +10 lines, -33 lines 0 comments Download
M chrome/browser/resources/whispernet_proxy/whispernet_proxy_pnacl.pexe.png View 1 2 3 Binary file 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M chrome/common/extensions/api/copresence_private.idl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/copresence/public/whispernet_client.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 36 (0 generated)
rkc
6 years, 4 months ago (2014-08-07 08:17:54 UTC) #1
Charlie
Cool! https://codereview.chromium.org/444373004/diff/1/chrome/browser/copresence/chrome_whispernet_client_browsertest.cc File chrome/browser/copresence/chrome_whispernet_client_browsertest.cc (right): https://codereview.chromium.org/444373004/diff/1/chrome/browser/copresence/chrome_whispernet_client_browsertest.cc#newcode66 chrome/browser/copresence/chrome_whispernet_client_browsertest.cc:66: const std::string kZeroes = audible ? "MDAwMDA=" : ...
6 years, 4 months ago (2014-08-07 15:46:47 UTC) #2
rkc
https://codereview.chromium.org/444373004/diff/1/chrome/browser/copresence/chrome_whispernet_client_browsertest.cc File chrome/browser/copresence/chrome_whispernet_client_browsertest.cc (right): https://codereview.chromium.org/444373004/diff/1/chrome/browser/copresence/chrome_whispernet_client_browsertest.cc#newcode66 chrome/browser/copresence/chrome_whispernet_client_browsertest.cc:66: const std::string kZeroes = audible ? "MDAwMDA=" : "MDAwMDAw"; ...
6 years, 4 months ago (2014-08-07 16:30:42 UTC) #3
Charlie
https://codereview.chromium.org/444373004/diff/1/chrome/browser/copresence/chrome_whispernet_client_browsertest.cc File chrome/browser/copresence/chrome_whispernet_client_browsertest.cc (right): https://codereview.chromium.org/444373004/diff/1/chrome/browser/copresence/chrome_whispernet_client_browsertest.cc#newcode66 chrome/browser/copresence/chrome_whispernet_client_browsertest.cc:66: const std::string kZeroes = audible ? "MDAwMDA=" : "MDAwMDAw"; ...
6 years, 4 months ago (2014-08-07 16:43:54 UTC) #4
rkc
Also added changes to the client itself to now pick up the constants from the ...
6 years, 4 months ago (2014-08-07 17:17:02 UTC) #5
Charlie
LGTM with a nit. https://codereview.chromium.org/444373004/diff/20001/chrome/browser/copresence/chrome_whispernet_client_browsertest.cc File chrome/browser/copresence/chrome_whispernet_client_browsertest.cc (right): https://codereview.chromium.org/444373004/diff/20001/chrome/browser/copresence/chrome_whispernet_client_browsertest.cc#newcode91 chrome/browser/copresence/chrome_whispernet_client_browsertest.cc:91: expected_token_ = kZeros; nit: You ...
6 years, 4 months ago (2014-08-07 17:28:54 UTC) #6
rkc
https://codereview.chromium.org/444373004/diff/20001/chrome/browser/copresence/chrome_whispernet_client_browsertest.cc File chrome/browser/copresence/chrome_whispernet_client_browsertest.cc (right): https://codereview.chromium.org/444373004/diff/20001/chrome/browser/copresence/chrome_whispernet_client_browsertest.cc#newcode91 chrome/browser/copresence/chrome_whispernet_client_browsertest.cc:91: expected_token_ = kZeros; On 2014/08/07 17:28:53, Charlie wrote: > ...
6 years, 4 months ago (2014-08-07 17:36:58 UTC) #7
rkc
The CQ bit was checked by rkc@chromium.org
6 years, 4 months ago (2014-08-07 17:41:21 UTC) #8
Charlie
LGTM https://codereview.chromium.org/444373004/diff/20001/chrome/browser/copresence/chrome_whispernet_client_browsertest.cc File chrome/browser/copresence/chrome_whispernet_client_browsertest.cc (right): https://codereview.chromium.org/444373004/diff/20001/chrome/browser/copresence/chrome_whispernet_client_browsertest.cc#newcode91 chrome/browser/copresence/chrome_whispernet_client_browsertest.cc:91: expected_token_ = kZeros; I was thinking you could ...
6 years, 4 months ago (2014-08-07 17:43:52 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rkc@chromium.org/444373004/40001
6 years, 4 months ago (2014-08-07 17:45:02 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-07 17:45:04 UTC) #11
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 4 months ago (2014-08-07 17:45:12 UTC) #12
xiyuan
lgtm
6 years, 4 months ago (2014-08-07 17:56:57 UTC) #13
rkc
The CQ bit was checked by rkc@chromium.org
6 years, 4 months ago (2014-08-07 17:58:25 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rkc@chromium.org/444373004/40001
6 years, 4 months ago (2014-08-07 18:09:19 UTC) #15
rkc
The CQ bit was unchecked by rkc@chromium.org
6 years, 4 months ago (2014-08-07 22:58:22 UTC) #16
rkc
The CQ bit was checked by rkc@chromium.org
6 years, 4 months ago (2014-08-08 01:32:51 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rkc@chromium.org/444373004/60001
6 years, 4 months ago (2014-08-08 01:40:29 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-08 06:00:43 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-08 06:06:19 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/2826)
6 years, 4 months ago (2014-08-08 06:06:20 UTC) #21
rkc
The CQ bit was checked by rkc@chromium.org
6 years, 4 months ago (2014-08-08 06:40:00 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rkc@chromium.org/444373004/80001
6 years, 4 months ago (2014-08-08 06:41:26 UTC) #23
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-08 06:48:42 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-08 06:51:17 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/38992) ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/3721) ios_rel_device ...
6 years, 4 months ago (2014-08-08 06:51:19 UTC) #26
rkc
The CQ bit was checked by rkc@chromium.org
6 years, 4 months ago (2014-08-08 07:09:05 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rkc@chromium.org/444373004/100001
6 years, 4 months ago (2014-08-08 07:11:33 UTC) #28
rkc
Adding kalman@ for OWNERs review of c/c/e/a/copresence_private.idl
6 years, 4 months ago (2014-08-08 08:14:06 UTC) #29
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-08 10:20:10 UTC) #30
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-08 10:23:17 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/2871)
6 years, 4 months ago (2014-08-08 10:23:18 UTC) #32
not at google - send to devlin
lgtm
6 years, 4 months ago (2014-08-08 13:50:00 UTC) #33
rkc
The CQ bit was checked by rkc@chromium.org
6 years, 4 months ago (2014-08-08 16:28:09 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rkc@chromium.org/444373004/100001
6 years, 4 months ago (2014-08-08 16:29:13 UTC) #35
commit-bot: I haz the power
6 years, 4 months ago (2014-08-08 16:33:43 UTC) #36
Message was sent while issue was closed.
Change committed as 288374

Powered by Google App Engine
This is Rietveld 408576698