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

Issue 10920087: Update callers of CreateFileSystemOperation so more detailed error codes can be returned. Where app… (Closed)

Created:
8 years, 3 months ago by calvinlo
Modified:
8 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, mihaip-chromium-reviews_chromium.org, feature-media-reviews_chromium.org, jam, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, pam+watch_chromium.org, kinuko+watch
Visibility:
Public.

Description

Update callers of CreateFileSystemOperation so more detailed error codes can be returned. Where applicable, convert net errors to base platform errors. BUG=141617 TBR=tony@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155377 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155671

Patch Set 1 #

Total comments: 1

Patch Set 2 : Commenting out lines to find test break #

Patch Set 3 : Fixed bug where OK return code wasn't returned upon success #

Total comments: 12

Patch Set 4 : Fixes from Kinuko's review #

Total comments: 1

Patch Set 5 : Update callers of CreateFileSystemOperation so more detailed error codes can be returned. Where app… #

Patch Set 6 : Fix compile error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -47 lines) Patch
M chrome/browser/extensions/api/downloads/downloads_api_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/fileapi/fileapi_message_filter.cc View 1 2 3 4 16 chunks +68 lines, -20 lines 0 comments Download
M net/base/net_errors.cc View 2 1 chunk +4 lines, -2 lines 0 comments Download
M webkit/fileapi/file_system_context.h View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M webkit/fileapi/file_system_context.cc View 1 2 3 4 1 chunk +12 lines, -3 lines 0 comments Download
M webkit/fileapi/file_system_dir_url_request_job.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/file_system_dir_url_request_job.cc View 1 2 3 3 chunks +17 lines, -6 lines 0 comments Download
M webkit/fileapi/file_system_file_stream_reader.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M webkit/fileapi/file_system_url_request_job.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M webkit/fileapi/isolated_file_util_unittest.cc View 1 chunk +5 lines, -1 line 0 comments Download
M webkit/fileapi/local_file_system_test_helper.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M webkit/fileapi/media/native_media_file_util_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/sandbox_file_stream_writer.cc View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M webkit/tools/test_shell/simple_file_system.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/tools/test_shell/simple_file_writer.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
tzik
http://codereview.chromium.org/10920087/diff/1/webkit/fileapi/file_system_context.cc File webkit/fileapi/file_system_context.cc (right): http://codereview.chromium.org/10920087/diff/1/webkit/fileapi/file_system_context.cc#newcode198 webkit/fileapi/file_system_context.cc:198: } Could you insert below? if (error_code) *error_code = ...
8 years, 3 months ago (2012-09-06 05:59:07 UTC) #1
calvinlo
On 2012/09/06 05:59:07, tzik wrote: > http://codereview.chromium.org/10920087/diff/1/webkit/fileapi/file_system_context.cc > File webkit/fileapi/file_system_context.cc (right): > > http://codereview.chromium.org/10920087/diff/1/webkit/fileapi/file_system_context.cc#newcode198 > ...
8 years, 3 months ago (2012-09-06 07:14:35 UTC) #2
tzik
lgtm
8 years, 3 months ago (2012-09-06 08:13:32 UTC) #3
kinuko
http://codereview.chromium.org/10920087/diff/6001/content/browser/fileapi/fileapi_message_filter.cc File content/browser/fileapi/fileapi_message_filter.cc (right): http://codereview.chromium.org/10920087/diff/6001/content/browser/fileapi/fileapi_message_filter.cc#newcode502 content/browser/fileapi/fileapi_message_filter.cc:502: operation->SyncGetPlatformPath(url, platform_path); Can you change this to check the ...
8 years, 3 months ago (2012-09-06 09:15:10 UTC) #4
calvinlo
Finished all fixes from Kinuko's review http://codereview.chromium.org/10920087/diff/6001/content/browser/fileapi/fileapi_message_filter.cc File content/browser/fileapi/fileapi_message_filter.cc (right): http://codereview.chromium.org/10920087/diff/6001/content/browser/fileapi/fileapi_message_filter.cc#newcode502 content/browser/fileapi/fileapi_message_filter.cc:502: operation->SyncGetPlatformPath(url, platform_path); On ...
8 years, 3 months ago (2012-09-06 11:19:32 UTC) #5
kinuko
lgtm, thanks!
8 years, 3 months ago (2012-09-06 11:45:54 UTC) #6
calvinlo
On 2012/09/06 11:45:54, kinuko wrote: > lgtm, thanks! Hello Stig, can you please take a ...
8 years, 3 months ago (2012-09-06 12:15:39 UTC) #7
Lei Zhang
chrome/ bit lgtm
8 years, 3 months ago (2012-09-06 18:23:21 UTC) #8
willchan no longer on Chromium
lgtm http://codereview.chromium.org/10920087/diff/2017/net/base/net_errors.cc File net/base/net_errors.cc (right): http://codereview.chromium.org/10920087/diff/2017/net/base/net_errors.cc#newcode54 net/base/net_errors.cc:54: case base::PLATFORM_FILE_ERROR_INVALID_URL: I'm surprised by this PLATFORM_FILE_ERROR_INVALID_URL, looks ...
8 years, 3 months ago (2012-09-06 18:33:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calvinlo@chromium.org/10920087/2017
8 years, 3 months ago (2012-09-07 04:17:09 UTC) #10
commit-bot: I haz the power
Presubmit check for 10920087-2017 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 3 months ago (2012-09-07 04:17:14 UTC) #11
calvinlo
Added TBR= tony@, can you please check webkit/tools/test_shell/*
8 years, 3 months ago (2012-09-07 04:23:22 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calvinlo@chromium.org/10920087/2017
8 years, 3 months ago (2012-09-07 04:23:40 UTC) #13
commit-bot: I haz the power
Change committed as 155377
8 years, 3 months ago (2012-09-07 13:05:39 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calvinlo@chromium.org/10920087/4003
8 years, 3 months ago (2012-09-10 03:50:46 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calvinlo@chromium.org/10920087/4003
8 years, 3 months ago (2012-09-10 04:20:10 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calvinlo@chromium.org/10920087/7031
8 years, 3 months ago (2012-09-10 04:22:35 UTC) #17
commit-bot: I haz the power
8 years, 3 months ago (2012-09-10 06:24:48 UTC) #18
Change committed as 155671

Powered by Google App Engine
This is Rietveld 408576698