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

Issue 10829147: Make MediaFileUtil run on thread pool. (Closed)

Created:
8 years, 4 months ago by tzik
Modified:
8 years, 4 months ago
Reviewers:
kinuko, tony
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, kinuko+watch, jam, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Move {Native,Device}MediaFileUtil from FILE thread to SequencedWorkerPool to avoid it blocks other I/O. BUG=139187 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=150252

Patch Set 1 #

Patch Set 2 : +test_shell_tests fix #

Total comments: 4

Patch Set 3 : update comment #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 14

Patch Set 8 : #

Patch Set 9 : buildfix #

Patch Set 10 : rebase #

Total comments: 6

Patch Set 11 : s/AllowCrossOperation/IsCrossOperationAllowed/g #

Patch Set 12 : #

Patch Set 13 : build fix for windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -100 lines) Patch
M content/browser/fileapi/browser_file_system_helper.cc View 1 2 3 2 chunks +13 lines, -2 lines 0 comments Download
M webkit/fileapi/file_system_context.h View 1 2 3 4 5 6 7 6 chunks +12 lines, -18 lines 0 comments Download
M webkit/fileapi/file_system_context.cc View 1 2 3 4 chunks +9 lines, -8 lines 0 comments Download
M webkit/fileapi/file_system_dir_url_request_job_unittest.cc View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -6 lines 0 comments Download
M webkit/fileapi/file_system_file_stream_reader.cc View 1 2 3 3 chunks +6 lines, -6 lines 0 comments Download
M webkit/fileapi/file_system_file_util_proxy.h View 1 2 3 4 5 6 7 8 9 11 chunks +11 lines, -11 lines 0 comments Download
M webkit/fileapi/file_system_file_util_proxy.cc View 1 2 3 4 5 6 7 8 9 11 chunks +11 lines, -11 lines 0 comments Download
M webkit/fileapi/file_system_mount_point_provider_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/fileapi/file_system_operation_context.h View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +10 lines, -5 lines 0 comments Download
M webkit/fileapi/file_system_operation_context.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -3 lines 0 comments Download
M webkit/fileapi/file_system_quota_client.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M webkit/fileapi/file_system_quota_client_unittest.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
A webkit/fileapi/file_system_task_runners.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +53 lines, -0 lines 0 comments Download
A webkit/fileapi/file_system_task_runners.cc View 1 2 3 4 5 6 7 1 chunk +34 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_url_request_job_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/fileapi/isolated_file_util_unittest.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/fileapi/isolated_mount_point_provider.cc View 1 2 3 4 5 6 7 4 chunks +8 lines, -3 lines 0 comments Download
M webkit/fileapi/local_file_system_operation.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +27 lines, -2 lines 0 comments Download
M webkit/fileapi/local_file_system_test_helper.cc View 1 2 3 4 5 6 7 3 chunks +5 lines, -4 lines 0 comments Download
M webkit/fileapi/media/native_media_file_util_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/fileapi/obfuscated_file_util_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/fileapi/sandbox_mount_point_provider.cc View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M webkit/fileapi/sandbox_mount_point_provider_unittest.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/fileapi/webkit_fileapi.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/simple_file_system.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
tzik
Could you take a look?
8 years, 4 months ago (2012-08-02 18:03:12 UTC) #1
kinuko
Are adding some guard in FileUtilHelper not to perform cross-filleutil operation which use different TRs? ...
8 years, 4 months ago (2012-08-02 21:12:46 UTC) #2
tzik
http://codereview.chromium.org/10829147/diff/6001/content/browser/fileapi/browser_file_system_helper.cc File content/browser/fileapi/browser_file_system_helper.cc (right): http://codereview.chromium.org/10829147/diff/6001/content/browser/fileapi/browser_file_system_helper.cc#newcode52 content/browser/fileapi/browser_file_system_helper.cc:52: pool->GetSequencedTaskRunner(media_sequence_token), On 2012/08/02 21:12:46, kinuko wrote: > Having this ...
8 years, 4 months ago (2012-08-03 22:29:18 UTC) #3
kinuko
http://codereview.chromium.org/10829147/diff/13002/webkit/fileapi/file_system_context.h File webkit/fileapi/file_system_context.h (right): http://codereview.chromium.org/10829147/diff/13002/webkit/fileapi/file_system_context.h#newcode51 webkit/fileapi/file_system_context.h:51: // |file_task_runner| is used for all file operations and ...
8 years, 4 months ago (2012-08-03 23:13:39 UTC) #4
tzik
http://codereview.chromium.org/10829147/diff/13002/webkit/fileapi/file_system_context.h File webkit/fileapi/file_system_context.h (right): http://codereview.chromium.org/10829147/diff/13002/webkit/fileapi/file_system_context.h#newcode51 webkit/fileapi/file_system_context.h:51: // |file_task_runner| is used for all file operations and ...
8 years, 4 months ago (2012-08-04 00:24:21 UTC) #5
kinuko
almost good http://codereview.chromium.org/10829147/diff/14030/webkit/fileapi/file_system_task_runners.h File webkit/fileapi/file_system_task_runners.h (right): http://codereview.chromium.org/10829147/diff/14030/webkit/fileapi/file_system_task_runners.h#newcode19 webkit/fileapi/file_system_task_runners.h:19: class FILEAPI_EXPORT FileSystemTaskRunners { nit: a brief ...
8 years, 4 months ago (2012-08-06 19:00:14 UTC) #6
tzik
http://codereview.chromium.org/10829147/diff/14030/webkit/fileapi/file_system_task_runners.h File webkit/fileapi/file_system_task_runners.h (right): http://codereview.chromium.org/10829147/diff/14030/webkit/fileapi/file_system_task_runners.h#newcode19 webkit/fileapi/file_system_task_runners.h:19: class FILEAPI_EXPORT FileSystemTaskRunners { On 2012/08/06 19:00:14, kinuko wrote: ...
8 years, 4 months ago (2012-08-06 20:09:01 UTC) #7
kinuko
lgtm
8 years, 4 months ago (2012-08-06 20:39:52 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/10829147/7053
8 years, 4 months ago (2012-08-06 21:50:45 UTC) #9
commit-bot: I haz the power
Presubmit check for 10829147-7053 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-08-06 21:51:03 UTC) #10
tzik
I forgot ask OWNERS to review. Tony, could you take a look to webkit/tools/test_shell/simple_file_system.cc?
8 years, 4 months ago (2012-08-06 22:05:39 UTC) #11
tony
webkit/tools LGTM
8 years, 4 months ago (2012-08-06 23:56:34 UTC) #12
tzik
On 2012/08/06 23:56:34, tony wrote: > webkit/tools LGTM Thanks!
8 years, 4 months ago (2012-08-06 23:58:45 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/10829147/7053
8 years, 4 months ago (2012-08-06 23:59:13 UTC) #14
commit-bot: I haz the power
8 years, 4 months ago (2012-08-07 01:25:37 UTC) #15

Powered by Google App Engine
This is Rietveld 408576698