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

Issue 656733002: Fix filesystem.retainEntry API to handle non-native directory. (Closed)

Created:
6 years, 2 months ago by hirono
Modified:
6 years, 2 months ago
Reviewers:
mtomasz
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, tzik, yoshiki+watch_chromium.org, nhiroki, rginda+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, kinuko+fileapi, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix filesystem.retainEntry API to handle non-native directory. The CL changes the function to obtain is_directory flag internally with File System API's one, so that the retainEntry can handle non-native entry. BUG=417376 TEST=newly added for the case Committed: https://crrev.com/0e2c264f05c6b7271ad04154c0222612e10541a6 Cr-Commit-Position: refs/heads/master@{#299653}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : #

Patch Set 4 : . #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 14

Patch Set 7 : Fixed. #

Patch Set 8 : Fixed windows build. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -33 lines) Patch
M chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc View 1 2 3 4 5 5 chunks +56 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/file_system/file_system_api.h View 1 2 3 4 5 6 1 chunk +6 lines, -10 lines 0 comments Download
M chrome/browser/extensions/api/file_system/file_system_api.cc View 1 2 3 4 5 6 7 6 chunks +58 lines, -14 lines 0 comments Download
A chrome/test/data/extensions/api_test/file_browser/retain_entry/background.js View 1 2 3 4 5 6 1 chunk +70 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/api_test/file_browser/retain_entry/manifest.json View 1 chunk +12 lines, -7 lines 0 comments Download
A chrome/test/data/extensions/api_test/file_browser/retain_entry/window.html View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
hirono
PTAL the CL? Thank you!
6 years, 2 months ago (2014-10-14 05:55:56 UTC) #2
mtomasz
https://codereview.chromium.org/656733002/diff/100001/chrome/browser/extensions/api/file_system/file_system_api.cc File chrome/browser/extensions/api/file_system/file_system_api.cc (right): https://codereview.chromium.org/656733002/diff/100001/chrome/browser/extensions/api/file_system/file_system_api.cc#newcode923 chrome/browser/extensions/api/file_system/file_system_api.cc:923: void FileSystemRetainEntryFunction::SetIsDirectoryOnIOThread( Calling SetIsDirectoryOnIOThread should only set "is_directory_, but ...
6 years, 2 months ago (2014-10-14 06:08:50 UTC) #3
hirono
https://codereview.chromium.org/656733002/diff/100001/chrome/browser/extensions/api/file_system/file_system_api.cc File chrome/browser/extensions/api/file_system/file_system_api.cc (right): https://codereview.chromium.org/656733002/diff/100001/chrome/browser/extensions/api/file_system/file_system_api.cc#newcode923 chrome/browser/extensions/api/file_system/file_system_api.cc:923: void FileSystemRetainEntryFunction::SetIsDirectoryOnIOThread( On 2014/10/14 06:08:49, mtomasz wrote: > Calling ...
6 years, 2 months ago (2014-10-14 09:22:10 UTC) #4
mtomasz
nice, lgtm!
6 years, 2 months ago (2014-10-14 09:29:39 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/656733002/130001
6 years, 2 months ago (2014-10-15 04:04:09 UTC) #7
commit-bot: I haz the power
Committed patchset #8 (id:130001)
6 years, 2 months ago (2014-10-15 04:57:47 UTC) #8
commit-bot: I haz the power
6 years, 2 months ago (2014-10-15 05:29:36 UTC) #9
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/0e2c264f05c6b7271ad04154c0222612e10541a6
Cr-Commit-Position: refs/heads/master@{#299653}

Powered by Google App Engine
This is Rietveld 408576698