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

Issue 23872004: Remove base::WorkerPool use from FileStream tests. (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

Remove base::WorkerPool use from FileStream tests. Use the main message loop for async operations in FileStream tests. Previously they were scheduled in base::WorkerPool. Removes dependency on deprecated code and plugs memory leaks. BUG=248513 R=rsleevi@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221926

Patch Set 1 #

Total comments: 1

Patch Set 2 : do not spawn thread #

Total comments: 3

Patch Set 3 : address comments #

Patch Set 4 : remove unneeded include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -32 lines) Patch
M net/base/file_stream_unittest.cc View 1 2 3 33 chunks +54 lines, -32 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
earthdok
Please take a look. Flushing the main message loop before and after stopping the thread ...
7 years, 3 months ago (2013-09-05 11:03:06 UTC) #1
Ryan Sleevi
https://codereview.chromium.org/23872004/diff/1/net/base/file_stream_unittest.cc File net/base/file_stream_unittest.cc (right): https://codereview.chromium.org/23872004/diff/1/net/base/file_stream_unittest.cc#newcode75 net/base/file_stream_unittest.cc:75: base::Thread file_thread_; The only requirement for this interface is ...
7 years, 3 months ago (2013-09-06 20:46:38 UTC) #2
earthdok
On 2013/09/06 20:46:38, Ryan Sleevi wrote: > https://codereview.chromium.org/23872004/diff/1/net/base/file_stream_unittest.cc > File net/base/file_stream_unittest.cc (right): > > https://codereview.chromium.org/23872004/diff/1/net/base/file_stream_unittest.cc#newcode75 ...
7 years, 3 months ago (2013-09-06 22:33:40 UTC) #3
earthdok
On 2013/09/06 22:33:40, earthdok wrote: > On 2013/09/06 20:46:38, Ryan Sleevi wrote: > > > ...
7 years, 3 months ago (2013-09-06 22:52:00 UTC) #4
Ryan Sleevi
https://codereview.chromium.org/23872004/diff/7001/net/base/file_stream_unittest.cc File net/base/file_stream_unittest.cc (right): https://codereview.chromium.org/23872004/diff/7001/net/base/file_stream_unittest.cc#newcode51 net/base/file_stream_unittest.cc:51: base::RunLoop().RunUntilIdle(); I'm not really thrilled with adding this to ...
7 years, 3 months ago (2013-09-06 23:27:27 UTC) #5
earthdok
https://codereview.chromium.org/23872004/diff/7001/net/base/file_stream_unittest.cc File net/base/file_stream_unittest.cc (right): https://codereview.chromium.org/23872004/diff/7001/net/base/file_stream_unittest.cc#newcode51 net/base/file_stream_unittest.cc:51: base::RunLoop().RunUntilIdle(); On 2013/09/06 23:27:28, Ryan Sleevi wrote: > I'm ...
7 years, 3 months ago (2013-09-07 00:20:03 UTC) #6
earthdok
On 2013/09/07 00:20:03, earthdok wrote: > https://codereview.chromium.org/23872004/diff/7001/net/base/file_stream_unittest.cc > File net/base/file_stream_unittest.cc (right): > > https://codereview.chromium.org/23872004/diff/7001/net/base/file_stream_unittest.cc#newcode51 > ...
7 years, 3 months ago (2013-09-07 00:23:09 UTC) #7
Ryan Sleevi
On 2013/09/07 00:23:09, earthdok wrote: > On 2013/09/07 00:20:03, earthdok wrote: > > > https://codereview.chromium.org/23872004/diff/7001/net/base/file_stream_unittest.cc ...
7 years, 3 months ago (2013-09-07 00:31:29 UTC) #8
earthdok
all addressed
7 years, 3 months ago (2013-09-07 00:57:32 UTC) #9
Ryan Sleevi
lgtm
7 years, 3 months ago (2013-09-07 01:54:45 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/earthdok@chromium.org/23872004/18001
7 years, 3 months ago (2013-09-07 01:54:54 UTC) #11
Ryan Sleevi
LGTM. Please update description to reflect the status of the CL (no longer using a ...
7 years, 3 months ago (2013-09-07 01:55:07 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/earthdok@chromium.org/23872004/18001
7 years, 3 months ago (2013-09-07 10:45:29 UTC) #13
commit-bot: I haz the power
7 years, 3 months ago (2013-09-07 16:01:54 UTC) #14
Message was sent while issue was closed.
Change committed as 221926

Powered by Google App Engine
This is Rietveld 408576698