| Index: chrome/browser/chromeos/extensions/file_manager/private_api_util.cc
|
| diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_util.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_util.cc
|
| index f577e06bca96bb662d9e9f2552af18504e5171f2..0307a65d2035a00705056675da100b45d49f2186 100644
|
| --- a/chrome/browser/chromeos/extensions/file_manager/private_api_util.cc
|
| +++ b/chrome/browser/chromeos/extensions/file_manager/private_api_util.cc
|
| @@ -148,6 +148,10 @@ void GetSelectedFileInfoInternal(Profile* profile,
|
| void ContinueGetSelectedFileInfo(Profile* profile,
|
| scoped_ptr<GetSelectedFileInfoParams> params,
|
| const base::FilePath& local_path) {
|
| + if (local_path.empty()) {
|
| + params->callback.Run(std::vector<ui::SelectedFileInfo>());
|
| + return;
|
| + }
|
| const int index = params->selected_files.size();
|
| const base::FilePath& file_path = params->file_paths[index];
|
| params->selected_files.push_back(ui::SelectedFileInfo(file_path, local_path));
|
|
|