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

Issue 1139843002: HttpServerProperties - Track UpdatePrefs callers. In offical builds, on (Closed)

Created:
5 years, 7 months ago by ramant (doing other things)
Modified:
5 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, asvitkine+watch_chromium.org, pink (ping after 24hrs), Andre, Ryan Hamilton
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

HttpServerProperties - Track UpdatePrefs callers. In offical builds, on Mac we had noticed UpdatePrefs is being called a lot. Would like to track the caller (we think it could be extensions). BUG=485314, 451256, 431476 R=mmenke@chromium.org, asvitkine@chromium.org Committed: https://crrev.com/848d07dfae3bd43c0573bceb311cdb92b4da53d9 Cr-Commit-Position: refs/heads/master@{#329452}

Patch Set 1 #

Total comments: 2

Patch Set 2 : fixed comments #

Total comments: 6

Patch Set 3 : Fixed comments for patch set 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -15 lines) Patch
M net/http/http_server_properties_manager.h View 1 2 2 chunks +20 lines, -1 line 0 comments Download
M net/http/http_server_properties_manager.cc View 1 2 11 chunks +18 lines, -14 lines 0 comments Download
M net/http/http_server_properties_manager_unittest.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 2 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
ramant (doing other things)
5 years, 7 months ago (2015-05-12 00:13:05 UTC) #1
ramant (doing other things)
On my linux box, I have been running the browser for more than an hour ...
5 years, 7 months ago (2015-05-12 00:19:44 UTC) #3
mmenke
https://codereview.chromium.org/1139843002/diff/1/net/http/http_server_properties_manager.cc File net/http/http_server_properties_manager.cc (right): https://codereview.chromium.org/1139843002/diff/1/net/http/http_server_properties_manager.cc#newcode357 net/http/http_server_properties_manager.cc:357: RecordUpdatePrefs(SET_SERVER_NETWORK_STATS); Suggest making this an argument to ScheduleUpdatePrefsOnNetworkThread instead ...
5 years, 7 months ago (2015-05-12 14:35:03 UTC) #4
ramant (doing other things)
https://codereview.chromium.org/1139843002/diff/1/net/http/http_server_properties_manager.cc File net/http/http_server_properties_manager.cc (right): https://codereview.chromium.org/1139843002/diff/1/net/http/http_server_properties_manager.cc#newcode357 net/http/http_server_properties_manager.cc:357: RecordUpdatePrefs(SET_SERVER_NETWORK_STATS); On 2015/05/12 14:35:03, mmenke wrote: > Suggest making ...
5 years, 7 months ago (2015-05-12 17:32:22 UTC) #5
mmenke
LGTM https://codereview.chromium.org/1139843002/diff/20001/net/http/http_server_properties_manager.cc File net/http/http_server_properties_manager.cc (right): https://codereview.chromium.org/1139843002/diff/20001/net/http/http_server_properties_manager.cc#newcode70 net/http/http_server_properties_manager.cc:70: void RecordUpdatePrefs(HttpServerPropertiesManager::Location location) { optional: Could inline this ...
5 years, 7 months ago (2015-05-12 17:38:52 UTC) #6
Alexei Svitkine (slow)
lgtm
5 years, 7 months ago (2015-05-12 17:41:17 UTC) #7
ramant (doing other things)
Thanks mmenke an Alexei. Made all the changes. https://codereview.chromium.org/1139843002/diff/20001/net/http/http_server_properties_manager.cc File net/http/http_server_properties_manager.cc (right): https://codereview.chromium.org/1139843002/diff/20001/net/http/http_server_properties_manager.cc#newcode70 net/http/http_server_properties_manager.cc:70: void ...
5 years, 7 months ago (2015-05-12 17:57:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139843002/70001
5 years, 7 months ago (2015-05-12 17:58:51 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:70001)
5 years, 7 months ago (2015-05-12 19:23:19 UTC) #14
commit-bot: I haz the power
5 years, 7 months ago (2015-05-12 19:24:43 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/848d07dfae3bd43c0573bceb311cdb92b4da53d9
Cr-Commit-Position: refs/heads/master@{#329452}

Powered by Google App Engine
This is Rietveld 408576698