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

Issue 989253005: Use linked hash map for broken alternative service queue. (Closed)

Created:
5 years, 9 months ago by Bence
Modified:
5 years, 9 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

Use linked hash map for broken alternative service queue. Use linked hash map for broken alternative service queue in HttpServerPropertiesImpl. This container has efficient lookup by key, allowing us to use it as the definitive set of broken alternative services in an upcoming CL. Also rename broken_alternate_protocol_map_ to recently_broken_alternative_services_ for consistency and because it makes more sense. BUG=392576 Committed: https://crrev.com/127681fccd8931673c36cdefea7aa3d62deea968 Cr-Commit-Position: refs/heads/master@{#319764}

Patch Set 1 #

Patch Set 2 : Use identity as hash of int. #

Total comments: 4

Patch Set 3 : Re: nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -34 lines) Patch
M net/http/http_server_properties.h View 1 chunk +5 lines, -0 lines 0 comments Download
M net/http/http_server_properties_impl.h View 1 2 4 chunks +23 lines, -19 lines 0 comments Download
M net/http/http_server_properties_impl.cc View 1 2 5 chunks +19 lines, -15 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Bence
Ryan, PTAL. Thanks.
5 years, 9 months ago (2015-03-09 19:35:54 UTC) #2
Ryan Hamilton
Looks good. One small comment. https://codereview.chromium.org/989253005/diff/20001/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc (right): https://codereview.chromium.org/989253005/diff/20001/net/http/http_server_properties_impl.cc#newcode329 net/http/http_server_properties_impl.cc:329: // If alternative service ...
5 years, 9 months ago (2015-03-09 19:48:27 UTC) #3
Bence
Ryan, PTAL. I addressed both of your one small comment. https://codereview.chromium.org/989253005/diff/20001/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc (right): https://codereview.chromium.org/989253005/diff/20001/net/http/http_server_properties_impl.cc#newcode329 ...
5 years, 9 months ago (2015-03-09 21:24:36 UTC) #4
Ryan Hamilton
lgtm
5 years, 9 months ago (2015-03-09 22:50:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/989253005/40001
5 years, 9 months ago (2015-03-09 23:05:14 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-09 23:24:00 UTC) #8
commit-bot: I haz the power
5 years, 9 months ago (2015-03-09 23:25:23 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/127681fccd8931673c36cdefea7aa3d62deea968
Cr-Commit-Position: refs/heads/master@{#319764}

Powered by Google App Engine
This is Rietveld 408576698