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

Issue 375543002: [fsp] Add support for deleting entries. (Closed)

Created:
6 years, 5 months ago by mtomasz
Modified:
6 years, 5 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, tzik, nhiroki, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, kinuko+fileapi, davemoore+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

[fsp] Add support for deleting entries. This CL adds support for deleting files and directories, including recursively. The new event in IDL has [nodoc], since we don't want to show it on developer.chrome.com before most of the R/W features are done. TBR=kalman@chromium.org TEST=unit_tests, browser_tests: *FileSystemProvider*DeleteEntry* BUG=391362 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282605

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fixed. #

Total comments: 1

Patch Set 3 : Rebased + cleaned up. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+398 lines, -85 lines) Patch
M chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_apitest.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/fake_provided_file_system.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/fileapi/provider_async_file_util.cc View 4 chunks +43 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/fileapi/provider_async_file_util_unittest.cc View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
A + chrome/browser/chromeos/file_system_provider/operations/delete_entry.h View 3 chunks +16 lines, -14 lines 0 comments Download
A chrome/browser/chromeos/file_system_provider/operations/delete_entry.cc View 1 chunk +55 lines, -0 lines 0 comments Download
A + chrome/browser/chromeos/file_system_provider/operations/delete_entry_unittest.cc View 1 2 4 chunks +49 lines, -61 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/provided_file_system.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/provided_file_system.cc View 1 2 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/request_manager.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/request_manager.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/file_system_provider.idl View 1 2 2 chunks +18 lines, -2 lines 0 comments Download
M chrome/renderer/resources/extensions/file_system_provider_custom_bindings.js View 1 chunk +4 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/api_test/file_system_provider/delete_entry/manifest.json View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A chrome/test/data/extensions/api_test/file_system_provider/delete_entry/test.js View 1 2 1 chunk +153 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
mtomasz
This is almost an identical CL to: 366263002, with exception to provider_async_file_util.cc/h and JS tests. ...
6 years, 5 months ago (2014-07-07 07:55:00 UTC) #1
kinaba
c++ lgtm
6 years, 5 months ago (2014-07-07 08:06:19 UTC) #2
hirono
https://codereview.chromium.org/375543002/diff/1/chrome/test/data/extensions/api_test/file_system_provider/delete_entry/test.js File chrome/test/data/extensions/api_test/file_system_provider/delete_entry/test.js (right): https://codereview.chromium.org/375543002/diff/1/chrome/test/data/extensions/api_test/file_system_provider/delete_entry/test.js#newcode90 chrome/test/data/extensions/api_test/file_system_provider/delete_entry/test.js:90: function onGetMetadataRequested(options, onSuccess, onError) { Could you use test_util.onGetMetadataRequestedDefault? ...
6 years, 5 months ago (2014-07-07 08:30:44 UTC) #3
mtomasz
https://codereview.chromium.org/375543002/diff/1/chrome/test/data/extensions/api_test/file_system_provider/delete_entry/test.js File chrome/test/data/extensions/api_test/file_system_provider/delete_entry/test.js (right): https://codereview.chromium.org/375543002/diff/1/chrome/test/data/extensions/api_test/file_system_provider/delete_entry/test.js#newcode90 chrome/test/data/extensions/api_test/file_system_provider/delete_entry/test.js:90: function onGetMetadataRequested(options, onSuccess, onError) { On 2014/07/07 08:30:44, hirono ...
6 years, 5 months ago (2014-07-07 08:33:11 UTC) #4
hirono
https://codereview.chromium.org/375543002/diff/1/chrome/test/data/extensions/api_test/file_system_provider/delete_entry/test.js File chrome/test/data/extensions/api_test/file_system_provider/delete_entry/test.js (right): https://codereview.chromium.org/375543002/diff/1/chrome/test/data/extensions/api_test/file_system_provider/delete_entry/test.js#newcode139 chrome/test/data/extensions/api_test/file_system_provider/delete_entry/test.js:139: TESTING_B_DIRECTORY.name) { On 2014/07/07 08:33:11, mtomasz wrote: > On ...
6 years, 5 months ago (2014-07-07 08:37:51 UTC) #5
mtomasz
https://codereview.chromium.org/375543002/diff/1/chrome/test/data/extensions/api_test/file_system_provider/delete_entry/test.js File chrome/test/data/extensions/api_test/file_system_provider/delete_entry/test.js (right): https://codereview.chromium.org/375543002/diff/1/chrome/test/data/extensions/api_test/file_system_provider/delete_entry/test.js#newcode139 chrome/test/data/extensions/api_test/file_system_provider/delete_entry/test.js:139: TESTING_B_DIRECTORY.name) { On 2014/07/07 08:37:50, hirono wrote: > On ...
6 years, 5 months ago (2014-07-07 09:01:01 UTC) #6
hirono
lgtm. Thank you!
6 years, 5 months ago (2014-07-07 09:22:16 UTC) #7
mtomasz
@kalman: PTAL at IDL, since @benwells is OOO. Thanks.
6 years, 5 months ago (2014-07-08 02:17:35 UTC) #8
not at google - send to devlin
https://codereview.chromium.org/375543002/diff/20001/chrome/common/extensions/api/file_system_provider.idl File chrome/common/extensions/api/file_system_provider.idl (right): https://codereview.chromium.org/375543002/diff/20001/chrome/common/extensions/api/file_system_provider.idl#newcode251 chrome/common/extensions/api/file_system_provider.idl:251: [maxListeners=1, nodoc] static void onDeleteEntryRequested( I have exactly the ...
6 years, 5 months ago (2014-07-08 16:30:18 UTC) #9
mtomasz
On 2014/07/08 16:30:18, kalman (OOO July 11-14) wrote: > https://codereview.chromium.org/375543002/diff/20001/chrome/common/extensions/api/file_system_provider.idl > File chrome/common/extensions/api/file_system_provider.idl (right): > ...
6 years, 5 months ago (2014-07-11 05:17:56 UTC) #10
mtomasz
The CQ bit was checked by mtomasz@chromium.org
6 years, 5 months ago (2014-07-11 06:22:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtomasz@chromium.org/375543002/40001
6 years, 5 months ago (2014-07-11 06:22:49 UTC) #12
commit-bot: I haz the power
6 years, 5 months ago (2014-07-11 10:29:55 UTC) #13
Message was sent while issue was closed.
Change committed as 282605

Powered by Google App Engine
This is Rietveld 408576698