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

Issue 1142413004: HttpServerProperties - Don't persist if ConfirmAlternativeService is (Closed)

Created:
5 years, 6 months ago by ramant (doing other things)
Modified:
5 years, 6 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

HttpServerProperties - Don't persist if ConfirmAlternativeService is called with the same origin (HostPortPair) more than once and if we didn't change anything in broken_alternative_services_ (in other words the return value of IsAlternativeServiceBroken hasn't changed). This change reduces the number of times ConfirmAlternativeService tries to persist HttpServerProperties to disk (currently ~17% of persist calls are due to ConfirmAlternativeService). BUG=451256 R=rch@chromium.org Committed: https://crrev.com/5b3bb8590cd76530932dd2eb47667a19c191cc2d Cr-Commit-Position: refs/heads/master@{#333169}

Patch Set 1 : #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -1 line) Patch
M net/http/http_server_properties_manager.cc View 1 1 chunk +8 lines, -1 line 0 comments Download
M net/http/http_server_properties_manager_unittest.cc View 1 1 chunk +46 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
ramant (doing other things)
5 years, 6 months ago (2015-06-05 19:48:40 UTC) #1
Ryan Hamilton
lgtm
5 years, 6 months ago (2015-06-05 20:29:43 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1142413004/20001
5 years, 6 months ago (2015-06-05 21:49:33 UTC) #5
commit-bot: I haz the power
Failed to apply patch for net/http/http_server_properties_manager_unittest.cc: While running git apply --index -3 -p1; error: patch ...
5 years, 6 months ago (2015-06-05 21:56:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1142413004/40001
5 years, 6 months ago (2015-06-05 22:19:32 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 6 months ago (2015-06-05 23:14:21 UTC) #12
commit-bot: I haz the power
5 years, 6 months ago (2015-06-05 23:15:13 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5b3bb8590cd76530932dd2eb47667a19c191cc2d
Cr-Commit-Position: refs/heads/master@{#333169}

Powered by Google App Engine
This is Rietveld 408576698