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
This is almost an identical CL to: 366263002, with exception to
provider_async_file_util.cc/h and JS tests.
@kinaba: PTAL at C++.
@hirono: PTAL at JS.
@benwells: PTAL at IDL.
Thanks.
kinaba
c++ lgtm
6 years, 5 months ago
(2014-07-07 08:06:19 UTC)
#2
c++ lgtm
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
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
https://codereview.chromium.org/375543002/diff/1/chrome/test/data/extensions/...
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/...
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 wrote:
> Could you use test_util.onGetMetadataRequestedDefault?
Sure. I'll rebase once it gets committed.
https://codereview.chromium.org/375543002/diff/1/chrome/test/data/extensions/...
chrome/test/data/extensions/api_test/file_system_provider/delete_entry/test.js:139:
TESTING_B_DIRECTORY.name) {
On 2014/07/07 08:30:44, hirono wrote:
> The recursive flag is needed for deleting TESTING_B_DIRECTORY?
TESTING_B_DIRECTORY is in TESTING_A_DIRECTORY. Recursive flag is hence required
to remove TESTING_A_DIRECTORY, since it is not empty.
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
https://codereview.chromium.org/375543002/diff/1/chrome/test/data/extensions/...
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/...
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 2014/07/07 08:30:44, hirono wrote:
> > The recursive flag is needed for deleting TESTING_B_DIRECTORY?
>
> TESTING_B_DIRECTORY is in TESTING_A_DIRECTORY. Recursive flag is hence
required
> to remove TESTING_A_DIRECTORY, since it is not empty.
So shouldn't the if statement at #137 pass the options.entryPath of
TESTING_B_DIRECTORY? (nit since the flow is not used in the test)
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
https://codereview.chromium.org/375543002/diff/1/chrome/test/data/extensions/...
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/...
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 2014/07/07 08:33:11, mtomasz wrote:
> > On 2014/07/07 08:30:44, hirono wrote:
> > > The recursive flag is needed for deleting TESTING_B_DIRECTORY?
> >
> > TESTING_B_DIRECTORY is in TESTING_A_DIRECTORY. Recursive flag is hence
> required
> > to remove TESTING_A_DIRECTORY, since it is not empty.
>
> So shouldn't the if statement at #137 pass the options.entryPath of
> TESTING_B_DIRECTORY? (nit since the flow is not used in the test)
>
Got it. You're right. Fixed.
hirono
lgtm. Thank you!
6 years, 5 months ago
(2014-07-07 09:22:16 UTC)
#7
lgtm. Thank you!
mtomasz
@kalman: PTAL at IDL, since @benwells is OOO. Thanks.
6 years, 5 months ago
(2014-07-08 02:17:35 UTC)
#8
@kalman: PTAL at IDL, since @benwells is OOO. Thanks.
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
Issue 375543002: [fsp] Add support for deleting entries.
(Closed)
Created 6 years, 5 months ago by mtomasz
Modified 6 years, 5 months ago
Reviewers: kinaba, hirono, not at google - send to devlin
Base URL: svn://svn.chromium.org/chrome/trunk/src
Comments: 7