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

Issue 557273002: Use RunLoop::Run() instead of RunLoop::RunUntilIdle() in FileSystemOperationImplTest. (Closed)

Created:
6 years, 3 months ago by iseki
Modified:
6 years, 3 months ago
Reviewers:
tzik
CC:
chromium-reviews, darin-cc_chromium.org, jam, kinuko+fileapi, nhiroki
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Use RunLoop::Run() instead of RunLoop::RunUntilIdle() in FileSystemOperationImplTest. RunLoop::Run() is needed if any of the operation is implemented using asynchronous I/O in OS layer, or performed in a separate thread. Currently, only Copy needs RunLoop::Run(). This CL replace all RunUntilIdle() with Run() to keep all test consistent. BUG=411153 TEST=content_unittest Committed: https://crrev.com/9d84bde186bd2c504311257bcee92212a64cd57c Cr-Commit-Position: refs/heads/master@{#294365}

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Total comments: 16

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+319 lines, -398 lines) Patch
M content/browser/fileapi/file_system_operation_impl_unittest.cc View 1 2 3 50 chunks +319 lines, -398 lines 0 comments Download

Messages

Total messages: 20 (4 generated)
iseki
Please take a look.
6 years, 3 months ago (2014-09-10 07:52:30 UTC) #2
tzik
https://codereview.chromium.org/557273002/diff/1/content/browser/fileapi/file_system_operation_impl_unittest.cc File content/browser/fileapi/file_system_operation_impl_unittest.cc (right): https://codereview.chromium.org/557273002/diff/1/content/browser/fileapi/file_system_operation_impl_unittest.cc#newcode183 content/browser/fileapi/file_system_operation_impl_unittest.cc:183: RecordReadDirectoryCallback(base::Closure closure) { const ref, here and elsewhere? https://codereview.chromium.org/557273002/diff/1/content/browser/fileapi/file_system_operation_impl_unittest.cc#newcode258 ...
6 years, 3 months ago (2014-09-10 08:45:14 UTC) #3
iseki
Thank you for your review. https://codereview.chromium.org/557273002/diff/1/content/browser/fileapi/file_system_operation_impl_unittest.cc File content/browser/fileapi/file_system_operation_impl_unittest.cc (right): https://codereview.chromium.org/557273002/diff/1/content/browser/fileapi/file_system_operation_impl_unittest.cc#newcode183 content/browser/fileapi/file_system_operation_impl_unittest.cc:183: RecordReadDirectoryCallback(base::Closure closure) { On ...
6 years, 3 months ago (2014-09-11 01:07:33 UTC) #4
tzik
https://codereview.chromium.org/557273002/diff/20001/content/browser/fileapi/file_system_operation_impl_unittest.cc File content/browser/fileapi/file_system_operation_impl_unittest.cc (right): https://codereview.chromium.org/557273002/diff/20001/content/browser/fileapi/file_system_operation_impl_unittest.cc#newcode170 content/browser/fileapi/file_system_operation_impl_unittest.cc:170: const base::Closure& closure) { These *Callback() functions seems simple ...
6 years, 3 months ago (2014-09-11 03:30:09 UTC) #5
iseki
Thank you for your reveiw:) https://codereview.chromium.org/557273002/diff/20001/content/browser/fileapi/file_system_operation_impl_unittest.cc File content/browser/fileapi/file_system_operation_impl_unittest.cc (right): https://codereview.chromium.org/557273002/diff/20001/content/browser/fileapi/file_system_operation_impl_unittest.cc#newcode170 content/browser/fileapi/file_system_operation_impl_unittest.cc:170: const base::Closure& closure) { ...
6 years, 3 months ago (2014-09-11 06:03:13 UTC) #6
tzik
https://codereview.chromium.org/557273002/diff/40001/content/browser/fileapi/file_system_operation_impl_unittest.cc File content/browser/fileapi/file_system_operation_impl_unittest.cc (right): https://codereview.chromium.org/557273002/diff/40001/content/browser/fileapi/file_system_operation_impl_unittest.cc#newcode258 content/browser/fileapi/file_system_operation_impl_unittest.cc:258: EXPECT_EQ(Remove(url, false /* recursive */), base::File::FILE_OK); Please put the ...
6 years, 3 months ago (2014-09-11 06:19:54 UTC) #7
iseki
Thank you for your review. https://codereview.chromium.org/557273002/diff/40001/content/browser/fileapi/file_system_operation_impl_unittest.cc File content/browser/fileapi/file_system_operation_impl_unittest.cc (right): https://codereview.chromium.org/557273002/diff/40001/content/browser/fileapi/file_system_operation_impl_unittest.cc#newcode258 content/browser/fileapi/file_system_operation_impl_unittest.cc:258: EXPECT_EQ(Remove(url, false /* recursive ...
6 years, 3 months ago (2014-09-11 06:36:55 UTC) #8
tzik
LGTM. Could you update the subject to specify affected area by adding "in FileSystemOperationImplTest"? Also, ...
6 years, 3 months ago (2014-09-11 07:15:57 UTC) #9
iseki
Thanks :) I update the subject and description.
6 years, 3 months ago (2014-09-11 07:19:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/557273002/60001
6 years, 3 months ago (2014-09-11 07:22:50 UTC) #12
tzik
On 2014/09/11 07:19:46, iseki wrote: > Thanks :) > I update the subject and description. ...
6 years, 3 months ago (2014-09-11 08:12:40 UTC) #13
iseki
On 2014/09/11 08:12:40, tzik wrote: > On 2014/09/11 07:19:46, iseki wrote: > > Thanks :) ...
6 years, 3 months ago (2014-09-11 08:14:44 UTC) #14
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 3 months ago (2014-09-11 09:23:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/557273002/60001
6 years, 3 months ago (2014-09-11 09:25:21 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 174e16c7a945660217d5df4859a154e9333e7def
6 years, 3 months ago (2014-09-11 09:37:45 UTC) #19
commit-bot: I haz the power
6 years, 3 months ago (2014-09-11 09:43:39 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9d84bde186bd2c504311257bcee92212a64cd57c
Cr-Commit-Position: refs/heads/master@{#294365}

Powered by Google App Engine
This is Rietveld 408576698