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

Issue 858433004: Modify SetAlternateProtocol and HasAlternateProtocol behavior. (Closed)

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

Description

Modify SetAlternateProtocol logging behavior. Modify SetAlternateProtocol() behavior with respect to logging and histograms, by ignoring alternate protocol being shadowed by |g_forced_alternate_protocol| or being inactive due to too high probability threshold. Also clean up HasAlternateProtocol() and GetAlternateProtocol(). BUG=392575 Committed: https://crrev.com/e5213fce048c62b058e9c3c9b9906cc2d0af182b Cr-Commit-Position: refs/heads/master@{#313197}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Refactor. #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -21 lines) Patch
M net/http/http_server_properties_impl.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M net/http/http_server_properties_impl.cc View 1 4 chunks +24 lines, -21 lines 7 comments Download

Messages

Total messages: 11 (2 generated)
Bence
Ryan: please confirm that this is the intended behaviour. FYI I am separating this change ...
5 years, 11 months ago (2015-01-16 17:39:44 UTC) #2
Ryan Hamilton
https://codereview.chromium.org/858433004/diff/1/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc (right): https://codereview.chromium.org/858433004/diff/1/net/http/http_server_properties_impl.cc#newcode295 net/http/http_server_properties_impl.cc:295: } This looks like a good change. I wonder ...
5 years, 11 months ago (2015-01-16 22:42:46 UTC) #3
Bence
Ryan: PTAL. The refactoring you suggest makes sense to me, note, however, the functional change. ...
5 years, 11 months ago (2015-01-23 16:45:58 UTC) #4
Ryan Hamilton
This will be a nice cleanup! https://codereview.chromium.org/858433004/diff/20001/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc (right): https://codereview.chromium.org/858433004/diff/20001/net/http/http_server_properties_impl.cc#newcode233 net/http/http_server_properties_impl.cc:233: it->second.probability >= alternate_protocol_probability_threshold_; ...
5 years, 11 months ago (2015-01-26 20:39:51 UTC) #5
Bence
Ryan, PTAL. Thanks. https://codereview.chromium.org/858433004/diff/20001/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc (right): https://codereview.chromium.org/858433004/diff/20001/net/http/http_server_properties_impl.cc#newcode233 net/http/http_server_properties_impl.cc:233: it->second.probability >= alternate_protocol_probability_threshold_; You are right, ...
5 years, 11 months ago (2015-01-26 21:53:57 UTC) #6
Ryan Hamilton
lgtm https://codereview.chromium.org/858433004/diff/20001/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc (right): https://codereview.chromium.org/858433004/diff/20001/net/http/http_server_properties_impl.cc#newcode276 net/http/http_server_properties_impl.cc:276: const AlternateProtocolInfo existing_alternate = it->second; On 2015/01/26 21:53:57, ...
5 years, 11 months ago (2015-01-27 00:25:17 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/858433004/20001
5 years, 11 months ago (2015-01-27 01:39:29 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 11 months ago (2015-01-27 01:43:51 UTC) #10
commit-bot: I haz the power
5 years, 11 months ago (2015-01-27 01:44:41 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e5213fce048c62b058e9c3c9b9906cc2d0af182b
Cr-Commit-Position: refs/heads/master@{#313197}

Powered by Google App Engine
This is Rietveld 408576698