List files in directories recursively (issue #1987)

This commit is contained in:
Marshall Greenblatt 2016-09-08 11:38:05 -04:00
parent 4a88e6738a
commit aead0852b3
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ void CefFileDialogManager::OnRunFileChooserUploadFolderDelegateCallback(
} else { } else {
lister_.reset(new net::DirectoryLister( lister_.reset(new net::DirectoryLister(
file_paths[0], file_paths[0],
net::DirectoryLister::NO_SORT, net::DirectoryLister::NO_SORT_RECURSIVE,
new UploadFolderHelper( new UploadFolderHelper(
base::Bind(&CefFileDialogManager::OnRunFileChooserDelegateCallback, base::Bind(&CefFileDialogManager::OnRunFileChooserDelegateCallback,
weak_ptr_factory_.GetWeakPtr(), mode)))); weak_ptr_factory_.GetWeakPtr(), mode))));