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

Issue 2536723009: Make net::URLRequestContext a MemoryDumpProvider (Closed)

Created:
4 years ago by xunjieli
Modified:
4 years ago
CC:
chromium-reviews, grt+watch_chromium.org, cbentzel+watch_chromium.org, jam, darin-cc_chromium.org, Primiano Tucci (use gerrit)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make net::URLRequestContext a MemoryDumpProvider This CL makes net::URLRequestContext a MemoryDumpProvider. The design doc is linked in the crbug. BUG=669108 Committed: https://crrev.com/96ab36a707e8e8633ec92185bd3f41a5157af83b Cr-Commit-Position: refs/heads/master@{#436417}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address Eric's comments #

Patch Set 3 : self review #

Total comments: 13

Patch Set 4 : address comment #

Patch Set 5 : Differentiate two media contexts #

Patch Set 6 : self review #

Patch Set 7 : fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -68 lines) Patch
M chrome/browser/io_thread.cc View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_io_data.h View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/profiles/off_the_record_profile_io_data.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 3 4 3 chunks +8 lines, -9 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.h View 1 2 3 4 5 6 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 4 3 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ssl/chrome_expect_ct_reporter_unittest.cc View 2 chunks +10 lines, -8 lines 0 comments Download
M content/browser/appcache/appcache_request_handler_unittest.cc View 23 chunks +45 lines, -42 lines 0 comments Download
M net/net.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M net/url_request/url_request_context.h View 1 5 chunks +24 lines, -2 lines 0 comments Download
M net/url_request/url_request_context.cc View 1 2 3 chunks +23 lines, -1 line 0 comments Download
A net/url_request/url_request_context_unittest.cc View 1 chunk +44 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (22 generated)
xunjieli
(This is CL #1 that is split off from 2525743002.) eroman: could you give me ...
4 years ago (2016-12-01 22:01:59 UTC) #6
eroman
lgtm https://codereview.chromium.org/2536723009/diff/1/net/url_request/url_request_context.h File net/url_request/url_request_context.h (right): https://codereview.chromium.org/2536723009/diff/1/net/url_request/url_request_context.h#newcode241 net/url_request/url_request_context.h:241: void set_name_string(const std::string& name_string) { how about calling ...
4 years ago (2016-12-01 22:16:00 UTC) #7
xunjieli
Thanks! https://codereview.chromium.org/2536723009/diff/1/net/url_request/url_request_context.h File net/url_request/url_request_context.h (right): https://codereview.chromium.org/2536723009/diff/1/net/url_request/url_request_context.h#newcode241 net/url_request/url_request_context.h:241: void set_name_string(const std::string& name_string) { On 2016/12/01 22:16:00, ...
4 years ago (2016-12-01 22:45:22 UTC) #8
michaeln
appcache lgtm
4 years ago (2016-12-01 22:52:46 UTC) #9
mattm
safe_browsing lgtm
4 years ago (2016-12-02 02:08:07 UTC) #10
mmenke
https://codereview.chromium.org/2536723009/diff/40001/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): https://codereview.chromium.org/2536723009/diff/40001/chrome/browser/profiles/profile_io_data.cc#newcode563 chrome/browser/profiles/profile_io_data.cc:563: set_name("media"); "SetHttpTransactionFactory" seems a weird place to do this. ...
4 years ago (2016-12-02 15:47:28 UTC) #12
xunjieli
Thanks! PTAL. https://codereview.chromium.org/2536723009/diff/40001/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): https://codereview.chromium.org/2536723009/diff/40001/chrome/browser/profiles/profile_io_data.cc#newcode563 chrome/browser/profiles/profile_io_data.cc:563: set_name("media"); On 2016/12/02 15:47:28, mmenke wrote: > ...
4 years ago (2016-12-02 16:13:14 UTC) #13
estark
chrome/browser/ssl/chrome_expect_ct_reporter_unittest.cc lgtm
4 years ago (2016-12-02 17:24:40 UTC) #14
ssid
This cl looks good, but please see comments in https://codereview.chromium.org/2525743002 for further CLs. I didn't ...
4 years ago (2016-12-02 21:42:13 UTC) #16
xunjieli
mmenke@: A friendly ping. Thank you!
4 years ago (2016-12-05 13:53:00 UTC) #19
mmenke
https://codereview.chromium.org/2536723009/diff/40001/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): https://codereview.chromium.org/2536723009/diff/40001/chrome/browser/profiles/profile_io_data.cc#newcode563 chrome/browser/profiles/profile_io_data.cc:563: set_name("media"); Given what you told me about how this ...
4 years ago (2016-12-05 17:59:25 UTC) #22
mmenke
https://codereview.chromium.org/2536723009/diff/40001/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): https://codereview.chromium.org/2536723009/diff/40001/chrome/browser/profiles/profile_io_data.cc#newcode594 chrome/browser/profiles/profile_io_data.cc:594: set_name("app_request"); On 2016/12/05 17:59:25, mmenke wrote: > Naming these ...
4 years ago (2016-12-05 18:02:14 UTC) #23
xunjieli
Thanks. PTAL. https://codereview.chromium.org/2536723009/diff/40001/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): https://codereview.chromium.org/2536723009/diff/40001/chrome/browser/profiles/profile_io_data.cc#newcode563 chrome/browser/profiles/profile_io_data.cc:563: set_name("media"); On 2016/12/05 17:59:25, mmenke wrote: > ...
4 years ago (2016-12-05 18:15:16 UTC) #24
mmenke
https://codereview.chromium.org/2536723009/diff/40001/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): https://codereview.chromium.org/2536723009/diff/40001/chrome/browser/profiles/profile_io_data.cc#newcode563 chrome/browser/profiles/profile_io_data.cc:563: set_name("media"); On 2016/12/05 18:15:16, xunjieli wrote: > On 2016/12/05 ...
4 years ago (2016-12-05 18:18:51 UTC) #25
xunjieli
PTAL.Thanks! https://codereview.chromium.org/2536723009/diff/40001/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): https://codereview.chromium.org/2536723009/diff/40001/chrome/browser/profiles/profile_io_data.cc#newcode563 chrome/browser/profiles/profile_io_data.cc:563: set_name("media"); On 2016/12/05 18:18:51, mmenke wrote: > On ...
4 years ago (2016-12-05 19:01:33 UTC) #26
mmenke
LGTM
4 years ago (2016-12-05 19:06:01 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2536723009/100001
4 years ago (2016-12-05 19:08:24 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2536723009/120001
4 years ago (2016-12-05 19:30:37 UTC) #37
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years ago (2016-12-05 21:36:38 UTC) #40
commit-bot: I haz the power
4 years ago (2016-12-05 21:40:29 UTC) #42
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/96ab36a707e8e8633ec92185bd3f41a5157af83b
Cr-Commit-Position: refs/heads/master@{#436417}

Powered by Google App Engine
This is Rietveld 408576698