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

Issue 379293002: Add AssertNoURLRequests() to URLRequestContext subclass destructors. (Closed)

Created:
6 years, 5 months ago by Johnny
Modified:
6 years, 5 months ago
CC:
chromium-reviews, tim+watch_chromium.org, cbentzel+watch_chromium.org, zea+watch_chromium.org, jam, haitaol+watch_chromium.org, darin-cc_chromium.org, maniscalco+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Add AssertNoURLRequests() to URLRequestContext subclass destructors. BUG=377852 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284556

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Add to two omitted subclasses of subclasses of URLRequestContext. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -7 lines) Patch
M chrome/browser/io_thread.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/net/chrome_url_request_context.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/net/connection_tester.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 chunk +3 lines, -1 line 0 comments Download
M content/public/test/mock_blob_url_request_context.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/proxy/proxy_script_fetcher_impl_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/spdy/spdy_test_util_common.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/url_request/url_request_context.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/url_request/url_request_context_builder.cc View 1 chunk +3 lines, -1 line 0 comments Download
M net/url_request/url_request_test_util.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/url_request/view_cache_helper_unittest.cc View 1 chunk +4 lines, -1 line 0 comments Download
M net/websockets/websocket_job_test.cc View 1 chunk +3 lines, -1 line 0 comments Download
M sync/internal_api/http_bridge.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Johnny
+rsleevi for chrome/browser/net/ and net/ +sky for chrome/browser/, chrome/test/, and content/public/test/ +tim for sync/ Thanks.
6 years, 5 months ago (2014-07-10 16:41:46 UTC) #1
Ryan Sleevi
net/ and c/b/net LGTM. Seems overkill to update the tests too, but I'll buy it ...
6 years, 5 months ago (2014-07-10 16:49:20 UTC) #2
Johnny
https://codereview.chromium.org/379293002/diff/20001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/379293002/diff/20001/chrome/browser/io_thread.cc#newcode162 chrome/browser/io_thread.cc:162: AssertNoURLRequests(); On 2014/07/10 16:49:19, Ryan Sleevi wrote: > Seems ...
6 years, 5 months ago (2014-07-10 16:58:29 UTC) #3
sky
https://codereview.chromium.org/379293002/diff/20001/net/url_request/url_request_context.h File net/url_request/url_request_context.h (right): https://codereview.chromium.org/379293002/diff/20001/net/url_request/url_request_context.h#newcode204 net/url_request/url_request_context.h:204: // prior to implicit destruction of subclass-owned state. How ...
6 years, 5 months ago (2014-07-10 19:37:33 UTC) #4
Ryan Sleevi
https://codereview.chromium.org/379293002/diff/20001/net/url_request/url_request_context.h File net/url_request/url_request_context.h (right): https://codereview.chromium.org/379293002/diff/20001/net/url_request/url_request_context.h#newcode204 net/url_request/url_request_context.h:204: // prior to implicit destruction of subclass-owned state. On ...
6 years, 5 months ago (2014-07-10 19:39:36 UTC) #5
Johnny
Added a couple of subclasses of subclasses that I missed. -tim (OOO), +nick for sync/ ...
6 years, 5 months ago (2014-07-10 20:00:05 UTC) #6
mmenke
On 2014/07/10 20:00:05, Johnny wrote: > Added a couple of subclasses of subclasses that I ...
6 years, 5 months ago (2014-07-10 20:03:00 UTC) #7
sky
Ok, LGTM
6 years, 5 months ago (2014-07-10 20:05:52 UTC) #8
Johnny
Nick: Ping? Thanks
6 years, 5 months ago (2014-07-21 19:51:55 UTC) #9
Nicolas Zea
Nick is on leave I believe. Sync LGTM
6 years, 5 months ago (2014-07-21 20:09:07 UTC) #10
Johnny
The CQ bit was checked by jgraettinger@chromium.org
6 years, 5 months ago (2014-07-21 20:14:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jgraettinger@chromium.org/379293002/40001
6 years, 5 months ago (2014-07-21 20:15:53 UTC) #12
commit-bot: I haz the power
6 years, 5 months ago (2014-07-22 00:27:53 UTC) #13
Message was sent while issue was closed.
Change committed as 284556

Powered by Google App Engine
This is Rietveld 408576698