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

Issue 304373004: Implement IsNonNativeLocalPathDirectory for supporting non-local non-Drive directory access in apps. (Closed)

Created:
6 years, 6 months ago by kinaba
Modified:
6 years, 6 months ago
Reviewers:
mtomasz, benwells
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
Visibility:
Public.

Description

Implement IsNonNativeLocalPathDirectory for supporting non-local non-Drive directory access in apps. What the CL does is: * Almost mechanically moves out the local function CheckIfDirectoryExists from open_util.cc to fileapi_util.cc and just use it for the desired implementation. * Removes Drive-specific helper code for the feature. * Allows file_system_api test setup code to refer the info of File Manager app. (Because the new general implementation checks the directory existence in the permission level of the file manager, the test needs access to it.) BUG=367028 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274173

Patch Set 1 : #

Total comments: 5

Patch Set 2 : Added comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -79 lines) Patch
M chrome/browser/chromeos/drive/file_system_util.h View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/drive/file_system_util.cc View 2 chunks +0 lines, -23 lines 0 comments Download
M chrome/browser/chromeos/file_manager/fileapi_util.h View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_manager/fileapi_util.cc View 4 chunks +35 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_manager/filesystem_api_util.cc View 1 3 chunks +25 lines, -15 lines 0 comments Download
M chrome/browser/chromeos/file_manager/open_util.cc View 2 chunks +0 lines, -35 lines 0 comments Download
M chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.cc View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
kinaba
@mtomasz: */drive/* (just deleting unused code) and */file_manager/* @benwells: file_system_apitest_chromeos.cc
6 years, 6 months ago (2014-05-30 03:44:59 UTC) #1
mtomasz
https://codereview.chromium.org/304373004/diff/10006/chrome/browser/chromeos/file_manager/filesystem_api_util.cc File chrome/browser/chromeos/file_manager/filesystem_api_util.cc (right): https://codereview.chromium.org/304373004/diff/10006/chrome/browser/chromeos/file_manager/filesystem_api_util.cc#newcode130 chrome/browser/chromeos/file_manager/filesystem_api_util.cc:130: content::BrowserThread::PostTask(content::BrowserThread::UI, This PostTask looks unnecessary, since we are already ...
6 years, 6 months ago (2014-05-30 03:53:44 UTC) #2
kinaba
https://codereview.chromium.org/304373004/diff/10006/chrome/browser/chromeos/file_manager/filesystem_api_util.cc File chrome/browser/chromeos/file_manager/filesystem_api_util.cc (right): https://codereview.chromium.org/304373004/diff/10006/chrome/browser/chromeos/file_manager/filesystem_api_util.cc#newcode130 chrome/browser/chromeos/file_manager/filesystem_api_util.cc:130: content::BrowserThread::PostTask(content::BrowserThread::UI, On 2014/05/30 03:53:44, mtomasz wrote: > This PostTask ...
6 years, 6 months ago (2014-05-30 04:07:01 UTC) #3
mtomasz
https://codereview.chromium.org/304373004/diff/10006/chrome/browser/chromeos/file_manager/filesystem_api_util.cc File chrome/browser/chromeos/file_manager/filesystem_api_util.cc (right): https://codereview.chromium.org/304373004/diff/10006/chrome/browser/chromeos/file_manager/filesystem_api_util.cc#newcode130 chrome/browser/chromeos/file_manager/filesystem_api_util.cc:130: content::BrowserThread::PostTask(content::BrowserThread::UI, On 2014/05/30 04:07:01, kinaba wrote: > On 2014/05/30 ...
6 years, 6 months ago (2014-05-30 05:23:48 UTC) #4
kinaba
https://codereview.chromium.org/304373004/diff/10006/chrome/browser/chromeos/file_manager/filesystem_api_util.cc File chrome/browser/chromeos/file_manager/filesystem_api_util.cc (right): https://codereview.chromium.org/304373004/diff/10006/chrome/browser/chromeos/file_manager/filesystem_api_util.cc#newcode130 chrome/browser/chromeos/file_manager/filesystem_api_util.cc:130: content::BrowserThread::PostTask(content::BrowserThread::UI, On 2014/05/30 05:23:48, mtomasz wrote: > On 2014/05/30 ...
6 years, 6 months ago (2014-05-30 05:43:00 UTC) #5
mtomasz
lgtm https://codereview.chromium.org/304373004/diff/10006/chrome/browser/chromeos/file_manager/filesystem_api_util.cc File chrome/browser/chromeos/file_manager/filesystem_api_util.cc (right): https://codereview.chromium.org/304373004/diff/10006/chrome/browser/chromeos/file_manager/filesystem_api_util.cc#newcode130 chrome/browser/chromeos/file_manager/filesystem_api_util.cc:130: content::BrowserThread::PostTask(content::BrowserThread::UI, On 2014/05/30 05:43:00, kinaba wrote: > On ...
6 years, 6 months ago (2014-05-30 05:55:06 UTC) #6
benwells
test lgtm
6 years, 6 months ago (2014-06-02 01:31:33 UTC) #7
kinaba
The CQ bit was checked by kinaba@chromium.org
6 years, 6 months ago (2014-06-02 01:32:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinaba@chromium.org/304373004/30001
6 years, 6 months ago (2014-06-02 01:33:03 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-06-02 03:31:04 UTC) #10
commit-bot: I haz the power
6 years, 6 months ago (2014-06-02 05:50:17 UTC) #11
Message was sent while issue was closed.
Change committed as 274173

Powered by Google App Engine
This is Rietveld 408576698