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

Issue 23872030: Fix teardown in tests which use UploadFileElementReader. (Closed)

Created:
7 years, 3 months ago by earthdok
Modified:
7 years, 3 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

Fix teardown in tests which use UploadFileElementReader. This fixes memory leaks in UploadFileElementReader and UploadDataStream tests. BUG=290897 R=rsleevi@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223344

Patch Set 1 #

Total comments: 2

Patch Set 2 : address comments #

Total comments: 2

Patch Set 3 : address nits #

Patch Set 4 : revert SetUp to constructors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M net/base/upload_data_stream_unittest.cc View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M net/base/upload_file_element_reader_unittest.cc View 1 2 3 3 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
earthdok
please take a look
7 years, 3 months ago (2013-09-13 16:11:02 UTC) #1
Ryan Sleevi
https://codereview.chromium.org/23872030/diff/1/net/base/upload_data_stream_unittest.cc File net/base/upload_data_stream_unittest.cc (right): https://codereview.chromium.org/23872030/diff/1/net/base/upload_data_stream_unittest.cc#newcode135 net/base/upload_data_stream_unittest.cc:135: } You should be able to update these according ...
7 years, 3 months ago (2013-09-13 18:47:10 UTC) #2
earthdok
On 2013/09/13 18:47:10, Ryan Sleevi wrote: > https://codereview.chromium.org/23872030/diff/1/net/base/upload_data_stream_unittest.cc > File net/base/upload_data_stream_unittest.cc (right): > > https://codereview.chromium.org/23872030/diff/1/net/base/upload_data_stream_unittest.cc#newcode135 ...
7 years, 3 months ago (2013-09-13 19:18:13 UTC) #3
Ryan Sleevi
lgtm https://codereview.chromium.org/23872030/diff/6001/net/base/upload_data_stream_unittest.cc File net/base/upload_data_stream_unittest.cc (right): https://codereview.chromium.org/23872030/diff/6001/net/base/upload_data_stream_unittest.cc#newcode130 net/base/upload_data_stream_unittest.cc:130: ~UploadDataStreamTest() { style nit: virtual https://codereview.chromium.org/23872030/diff/6001/net/base/upload_file_element_reader_unittest.cc File net/base/upload_file_element_reader_unittest.cc ...
7 years, 3 months ago (2013-09-13 21:57:27 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/earthdok@chromium.org/23872030/11001
7 years, 3 months ago (2013-09-16 10:47:00 UTC) #5
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-16 11:06:51 UTC) #6
earthdok
On 2013/09/16 11:06:51, I haz the power (commit-bot) wrote: > Sorry for I got bad ...
7 years, 3 months ago (2013-09-16 11:23:34 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/earthdok@chromium.org/23872030/30001
7 years, 3 months ago (2013-09-16 13:03:34 UTC) #8
commit-bot: I haz the power
7 years, 3 months ago (2013-09-16 15:27:08 UTC) #9
Message was sent while issue was closed.
Change committed as 223344

Powered by Google App Engine
This is Rietveld 408576698