diff options
author | sammc@chromium.org <sammc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-29 14:16:24 +0000 |
---|---|---|
committer | sammc@chromium.org <sammc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-29 14:16:24 +0000 |
commit | 6b7ecdd48738d917c870a18e1ba3bb7707a4894e (patch) | |
tree | a1fd71148f5c1f89c166ac35cce308c29ddcb5a1 /apps/app_restore_service_browsertest.cc | |
parent | f5f2b724da0926b45c9a6bd34df0e974206819c5 (diff) | |
download | chromium_src-6b7ecdd48738d917c870a18e1ba3bb7707a4894e.zip chromium_src-6b7ecdd48738d917c870a18e1ba3bb7707a4894e.tar.gz chromium_src-6b7ecdd48738d917c870a18e1ba3bb7707a4894e.tar.bz2 |
Add support for directory access to the file system API.
This adds 'openDirectory' as a type option for
chrome.fileSystem.chooseEntry to allow access to directories. This is
restricted to apps with the fileSystem.directory permission.
BUG=148486
Review URL: https://chromiumcodereview.appspot.com/23146016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220287 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'apps/app_restore_service_browsertest.cc')
-rw-r--r-- | apps/app_restore_service_browsertest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_restore_service_browsertest.cc b/apps/app_restore_service_browsertest.cc index cdde267..d6cc728 100644 --- a/apps/app_restore_service_browsertest.cc +++ b/apps/app_restore_service_browsertest.cc @@ -136,7 +136,8 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, MAYBE_FileAccessIsRestored) { extension_prefs->SetExtensionRunning(extension->id(), true); for (std::vector<SavedFileEntry>::const_iterator it = file_entries.begin(); it != file_entries.end(); ++it) { - saved_files_service->RegisterFileEntry(extension->id(), it->id, it->path); + saved_files_service->RegisterFileEntry( + extension->id(), it->id, it->path, it->is_directory); } apps::AppRestoreServiceFactory::GetForProfile(browser()->profile())-> |