| Index: chrome/browser/chromeos/drive/drive_task_executor.cc
|
| diff --git a/chrome/browser/chromeos/drive/drive_task_executor.cc b/chrome/browser/chromeos/drive/drive_task_executor.cc
|
| index d0871d8460b157dbef9968a4cfd6d065edb470e0..17014b369a9b2e96538e569cbce48287b1793983 100644
|
| --- a/chrome/browser/chromeos/drive/drive_task_executor.cc
|
| +++ b/chrome/browser/chromeos/drive/drive_task_executor.cc
|
| @@ -49,9 +49,10 @@ bool DriveTaskExecutor::ExecuteAndNotify(
|
| std::vector<base::FilePath> raw_paths;
|
| for (std::vector<FileSystemURL>::const_iterator url = file_urls.begin();
|
| url != file_urls.end(); ++url) {
|
| - if (!url->is_valid() || url->type() != fileapi::kFileSystemTypeDrive)
|
| + base::FilePath path = util::ExtractDrivePathFromFileSystemUrl(*url);
|
| + if (path.empty())
|
| return false;
|
| - raw_paths.push_back(url->virtual_path());
|
| + raw_paths.push_back(path);
|
| }
|
|
|
| DriveSystemService* system_service =
|
|
|