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

Issue 1091283007: Rename methods and members and const variables to alternative service. (Closed)

Created:
5 years, 8 months ago by Bence
Modified:
5 years, 8 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, eroman, arv+watch_chromium.org, mmenke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename methods and members and const variables to alternative service. Rename methods and members and const variables from "alternate protocol" to "alternative service": * alternate_protocol_probability_threshold_ to alternative_service_probability_threshold_ in HttpServerPropertiesImpl, * switches::kAlternateProtocolProbabilityThreshold to switches::kAlternativeServiceProbabilityThreshold, * test names in IOThreadTest, * SetAlternateProtocolProbabilityThreshold() to SetAlternativeServiceProbabilityThreshold(), * GetAlternateProtocolProbabilityThreshold() to GetAlternativeServiceProbabilityThreshold(), * remove obsolete force-alt-protocols from comments in io_thread.cc, * "Alternate Protocol" to "Alternative Service" in NetInternals user facing QUIC page, * alternate_protocol_probability_threshold to alternative_service_probability_threshold in IOThread::Globals and HttpNetworkSession::Params. BUG=392575 Committed: https://crrev.com/62891a5fe6637cb5d07b2ecc137d145969de6db6 Cr-Commit-Position: refs/heads/master@{#327038}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Re: #4. #

Total comments: 10

Patch Set 3 : Re: #7. #

Patch Set 4 : Change command line flag. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -61 lines) Patch
M chrome/browser/io_thread.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 5 chunks +17 lines, -11 lines 0 comments Download
M chrome/browser/io_thread_unittest.cc View 1 2 3 2 chunks +21 lines, -12 lines 0 comments Download
M chrome/browser/resources/net_internals/quic_view.html View 1 1 chunk +6 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download
M components/cronet/android/cronet_url_request_context_adapter.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/cronet/android/url_request_context_adapter.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_network_session.h View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_network_session.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M net/http/http_server_properties.h View 1 chunk +1 line, -2 lines 0 comments Download
M net/http/http_server_properties_impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M net/http/http_server_properties_impl.cc View 5 chunks +6 lines, -6 lines 0 comments Download
M net/http/http_server_properties_impl_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M net/http/http_server_properties_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_server_properties_manager.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/quic/quic_network_transaction_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
Bence
Ryan, PTAL. Thanks.
5 years, 8 months ago (2015-04-23 18:44:43 UTC) #2
eroman
https://codereview.chromium.org/1091283007/diff/1/chrome/browser/resources/net_internals/quic_view.html File chrome/browser/resources/net_internals/quic_view.html (right): https://codereview.chromium.org/1091283007/diff/1/chrome/browser/resources/net_internals/quic_view.html#newcode4 chrome/browser/resources/net_internals/quic_view.html:4: <li>Alternative Service Probability Threshold: <span jscontent="alternative_service_probability_threshold"></span></li> This is going ...
5 years, 8 months ago (2015-04-23 20:04:11 UTC) #4
Bence
Eric: good catch. PTAL at chrome/browser/resources/net_internals/quic_view.html. Paul: PTAL at components/cronet/andoid/* Ryan: PTAL at everything else. ...
5 years, 8 months ago (2015-04-24 14:24:59 UTC) #6
Ryan Hamilton
https://codereview.chromium.org/1091283007/diff/20001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/1091283007/diff/20001/chrome/browser/io_thread.cc#newcode1466 chrome/browser/io_thread.cc:1466: "alternative_service_probability_threshold"), This change will break our existing finch configurations. ...
5 years, 8 months ago (2015-04-24 14:35:59 UTC) #7
pauljensen
components/cronet/android/ lgtm
5 years, 8 months ago (2015-04-24 14:37:59 UTC) #8
eroman
chrome/browser/resources/net_internals/quic_view.html LGTM
5 years, 8 months ago (2015-04-24 18:19:58 UTC) #9
Bence
Ryan, PTAL. Thanks. https://codereview.chromium.org/1091283007/diff/20001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/1091283007/diff/20001/chrome/browser/io_thread.cc#newcode1466 chrome/browser/io_thread.cc:1466: "alternative_service_probability_threshold"), On 2015/04/24 14:35:59, Ryan Hamilton ...
5 years, 8 months ago (2015-04-24 21:36:02 UTC) #10
Bence
Ryan, PTAL. Thanks.
5 years, 8 months ago (2015-04-24 21:36:03 UTC) #11
Ryan Hamilton
LGTM, modulo changing either the flag or the kConstant. (I recommend just changing the flag, ...
5 years, 8 months ago (2015-04-24 21:54:00 UTC) #12
Bence
Thank you both. https://codereview.chromium.org/1091283007/diff/20001/chrome/common/chrome_switches.cc File chrome/common/chrome_switches.cc (right): https://codereview.chromium.org/1091283007/diff/20001/chrome/common/chrome_switches.cc#newcode71 chrome/common/chrome_switches.cc:71: "alternate-protocol-probability-threshold"; On 2015/04/24 21:54:00, Ryan Hamilton ...
5 years, 8 months ago (2015-04-27 13:15:17 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1091283007/60001
5 years, 8 months ago (2015-04-27 13:16:38 UTC) #16
Bence
On 2015/04/27 13:15:17, Bence wrote: > Thank you both. > Sorry, I meant to say ...
5 years, 8 months ago (2015-04-27 13:21:13 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-27 14:14:21 UTC) #18
commit-bot: I haz the power
5 years, 8 months ago (2015-04-27 14:15:15 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/62891a5fe6637cb5d07b2ecc137d145969de6db6
Cr-Commit-Position: refs/heads/master@{#327038}

Powered by Google App Engine
This is Rietveld 408576698