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

Issue 1665503002: [Cronet] Expose quic_user_agent_id and quic_prefer_aes config options. (Closed)

Created:
4 years, 10 months ago by mef
Modified:
4 years, 10 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, Ian Swett
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Cronet] Expose quic_user_agent_id and quic_prefer_aes config options. - QUIC will soon require that user agent id field is non-empty, but normal User-Agent request header is too rich and verbose to be used for this purpose. The app can override default value using 'user_agent_id' quic experimental option. - prefer_aes experimental option is needed to experiment with performance of using AES instead of ChaCha20. BUG=575771 Committed: https://crrev.com/c5da5713830e1c6ad09c75638e06f018396ca40d Cr-Commit-Position: refs/heads/master@{#374438}

Patch Set 1 #

Patch Set 2 : Update tests. #

Patch Set 3 : Sync #

Total comments: 1

Patch Set 4 : Sync #

Patch Set 5 : Better test, experimental UAID option. #

Patch Set 6 : Sync #

Total comments: 2

Patch Set 7 : Fix BUILD.gn #

Patch Set 8 : Sync #

Patch Set 9 : Document QUIC UAID string usage, don't pass it down unless QUIC is enabled. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -15 lines) Patch
M components/cronet/android/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M components/cronet/android/api/src/org/chromium/net/CronetEngine.java View 1 2 3 4 5 6 7 8 3 chunks +14 lines, -3 lines 0 comments Download
M components/cronet/android/api/src/org/chromium/net/UserAgent.java View 2 chunks +19 lines, -2 lines 0 comments Download
M components/cronet/android/cronet_url_request_context_adapter.cc View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M components/cronet/android/java/src/org/chromium/net/CronetUrlRequestContext.java View 1 2 3 4 5 6 7 2 chunks +8 lines, -7 lines 0 comments Download
M components/cronet/android/test/cronet_url_request_context_config_test.cc View 1 2 3 4 3 chunks +4 lines, -1 line 0 comments Download
M components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M components/cronet/url_request_context_config.h View 2 chunks +4 lines, -0 lines 0 comments Download
M components/cronet/url_request_context_config.cc View 1 2 3 4 5 6 7 8 5 chunks +16 lines, -0 lines 0 comments Download
M components/cronet/url_request_context_config_unittest.cc View 1 2 3 4 5 3 chunks +10 lines, -0 lines 0 comments Download
M net/url_request/url_request_context_builder.h View 1 2 3 3 chunks +10 lines, -0 lines 0 comments Download
M net/url_request/url_request_context_builder.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (10 generated)
mef
PTAL
4 years, 10 months ago (2016-02-03 15:58:02 UTC) #5
Ryan Hamilton
I don't see a test which verifies that the generated QUIC UIAD looks like "<something> ...
4 years, 10 months ago (2016-02-04 01:34:43 UTC) #6
xunjieli
https://codereview.chromium.org/1665503002/diff/40001/components/cronet/android/api/src/org/chromium/net/CronetEngine.java File components/cronet/android/api/src/org/chromium/net/CronetEngine.java (right): https://codereview.chromium.org/1665503002/diff/40001/components/cronet/android/api/src/org/chromium/net/CronetEngine.java#newcode263 components/cronet/android/api/src/org/chromium/net/CronetEngine.java:263: public String getDefaultQuicUserAgentId() { I feel that since we ...
4 years, 10 months ago (2016-02-04 14:00:06 UTC) #7
mef
Thanks for your comments! I agree with Helen that UAID doesn't clearly belong to the ...
4 years, 10 months ago (2016-02-05 17:22:36 UTC) #8
Ryan Hamilton
net/ and quic-specific bits LGTM. hopefully xunjieli can reivew the cronet parts which I'm not ...
4 years, 10 months ago (2016-02-05 17:47:52 UTC) #10
xunjieli
It feels a bit weird that the Cronet will set a default QUIC UAID in ...
4 years, 10 months ago (2016-02-05 18:55:11 UTC) #11
mef
On 2016/02/05 18:55:11, xunjieli wrote: > It feels a bit weird that the Cronet will ...
4 years, 10 months ago (2016-02-05 19:15:02 UTC) #12
xunjieli
On 2016/02/05 19:15:02, mef wrote: > On 2016/02/05 18:55:11, xunjieli wrote: > > It feels ...
4 years, 10 months ago (2016-02-05 19:45:16 UTC) #13
Ryan Hamilton
On 2016/02/05 19:45:16, xunjieli wrote: > On 2016/02/05 19:15:02, mef wrote: > > On 2016/02/05 ...
4 years, 10 months ago (2016-02-05 22:28:17 UTC) #14
mef
On 2016/02/05 22:28:17, Ryan Hamilton wrote: > On 2016/02/05 19:45:16, xunjieli wrote: > > On ...
4 years, 10 months ago (2016-02-08 16:46:01 UTC) #15
xunjieli
Paul, do you mind taking a look? Not sure what is the best action here. ...
4 years, 10 months ago (2016-02-08 16:51:09 UTC) #17
Ryan Hamilton
On 2016/02/08 16:51:09, xunjieli wrote: > Paul, do you mind taking a look? Not sure ...
4 years, 10 months ago (2016-02-08 22:12:05 UTC) #18
xunjieli
On 2016/02/08 22:12:05, Ryan Hamilton wrote: > On 2016/02/08 16:51:09, xunjieli wrote: > > Paul, ...
4 years, 10 months ago (2016-02-08 22:17:16 UTC) #19
Ryan Hamilton
On 2016/02/08 22:17:16, xunjieli wrote: > On 2016/02/08 22:12:05, Ryan Hamilton wrote: > > On ...
4 years, 10 months ago (2016-02-08 22:37:55 UTC) #20
xunjieli
On 2016/02/08 22:37:55, Ryan Hamilton wrote: > On 2016/02/08 22:17:16, xunjieli wrote: > > On ...
4 years, 10 months ago (2016-02-08 22:47:41 UTC) #21
mef
On 2016/02/08 22:47:41, xunjieli wrote: > On 2016/02/08 22:37:55, Ryan Hamilton wrote: > > On ...
4 years, 10 months ago (2016-02-09 16:29:46 UTC) #22
xunjieli
On 2016/02/09 16:29:46, mef wrote: > On 2016/02/08 22:47:41, xunjieli wrote: > > On 2016/02/08 ...
4 years, 10 months ago (2016-02-09 16:52:58 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1665503002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1665503002/160001
4 years, 10 months ago (2016-02-09 19:12:54 UTC) #26
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 10 months ago (2016-02-09 20:14:30 UTC) #28
commit-bot: I haz the power
4 years, 10 months ago (2016-02-09 20:15:43 UTC) #30
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/c5da5713830e1c6ad09c75638e06f018396ca40d
Cr-Commit-Position: refs/heads/master@{#374438}

Powered by Google App Engine
This is Rietveld 408576698