Home
last modified time | relevance | path

Searched refs:file_urls (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
Dprivate_api_tasks.cc74 if (params->file_urls.empty()) in RunImpl()
81 std::vector<FileSystemURL> file_urls; in RunImpl() local
82 for (size_t i = 0; i < params->file_urls.size(); i++) { in RunImpl()
84 file_system_context->CrackURL(GURL(params->file_urls[i])); in RunImpl()
89 file_urls.push_back(url); in RunImpl()
97 file_urls, in RunImpl()
111 if (params->file_urls.empty()) in RunImpl()
115 if (params->mime_types.size() != params->file_urls.size() && in RunImpl()
126 std::vector<GURL> file_urls; in RunImpl() local
127 for (size_t i = 0; i < params->file_urls.size(); ++i) { in RunImpl()
[all …]
Dprivate_api_dialog.cc84 std::vector<GURL> file_urls; in RunImpl() local
85 file_urls.reserve(len); in RunImpl()
87 file_urls.push_back(GURL(params->selected_paths[i])); in RunImpl()
93 file_urls, in RunImpl()
Dprivate_api_util.cc255 const std::vector<GURL>& file_urls, in GetSelectedFileInfo() argument
265 for (size_t i = 0; i < file_urls.size(); ++i) { in GetSelectedFileInfo()
266 const GURL& file_url = file_urls[i]; in GetSelectedFileInfo()
Dprivate_api_drive.cc254 for (size_t i = 0; i < params->file_urls.size(); ++i) { in RunImpl()
256 render_view_host(), GetProfile(), GURL(params->file_urls[i])); in RunImpl()
345 for (size_t i = 0; i < params->file_urls.size(); ++i) { in RunImpl()
347 render_view_host(), GetProfile(), GURL(params->file_urls[i])); in RunImpl()
365 result->file_url = params->file_urls[i]; in RunImpl()
Dprivate_api_util.h85 const std::vector<GURL>& file_urls,
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dfile_browser_handlers.cc168 void Execute(const std::vector<FileSystemURL>& file_urls,
191 const std::vector<FileSystemURL>& file_urls);
229 const std::vector<FileSystemURL>& file_urls) { in SetupFileAccessPermissions() argument
237 for (size_t i = 0; i < file_urls.size(); ++i) { in SetupFileAccessPermissions()
238 const FileSystemURL& url = file_urls[i]; in SetupFileAccessPermissions()
288 const std::vector<FileSystemURL>& file_urls, in Execute() argument
305 file_urls), in Execute()
452 const std::vector<FileSystemURL>& file_urls) { in OpenFilesWithBrowser() argument
454 for (size_t i = 0; i < file_urls.size(); ++i) { in OpenFilesWithBrowser()
455 const FileSystemURL& file_url = file_urls[i]; in OpenFilesWithBrowser()
[all …]
Dfile_tasks_unittest.cc522 std::vector<GURL> file_urls; in TEST_F() local
523 file_urls.push_back(GURL("filesystem:chrome-extension://id/dir/foo.txt")); in TEST_F()
526 FindFileBrowserHandlerTasks(&test_profile_, file_urls, &tasks); in TEST_F()
538 file_urls.clear(); in TEST_F()
539 file_urls.push_back(GURL("filesystem:chrome-extension://id/dir/foo.txt")); in TEST_F()
540 file_urls.push_back(GURL("filesystem:chrome-extension://id/dir/foo.html")); in TEST_F()
542 FindFileBrowserHandlerTasks(&test_profile_, file_urls, &tasks); in TEST_F()
548 file_urls.push_back(GURL("filesystem:chrome-extension://id/dir/foo.png")); in TEST_F()
550 FindFileBrowserHandlerTasks(&test_profile_, file_urls, &tasks); in TEST_F()
627 std::vector<GURL> file_urls; in TEST_F() local
[all …]
Dfile_tasks.cc270 const std::vector<FileSystemURL>& file_urls, in ExecuteFileTask() argument
273 app_id, file_urls)) in ExecuteFileTask()
281 executor->Execute(file_urls, done); in ExecuteFileTask()
299 file_urls, in ExecuteFileTask()
302 for (size_t i = 0; i != file_urls.size(); ++i) { in ExecuteFileTask()
304 profile, extension, task.action_id, file_urls[i].path()); in ExecuteFileTask()
436 const std::vector<GURL>& file_urls, in FindFileBrowserHandlerTasks() argument
438 DCHECK(!file_urls.empty()); in FindFileBrowserHandlerTasks()
442 file_browser_handlers::FindFileBrowserHandlers(profile, file_urls); in FindFileBrowserHandlerTasks()
480 const std::vector<GURL>& file_urls, in FindAllTypesOfTasks() argument
[all …]
Dfile_tasks.h249 const std::vector<fileapi::FileSystemURL>& file_urls,
274 const std::vector<GURL>& file_urls,
292 const std::vector<GURL>& file_urls,
Dopen_util.cc149 std::vector<GURL> file_urls; in OpenFile() local
150 file_urls.push_back(url); in OpenFile()
157 file_urls, in OpenFile()
Dfile_browser_handlers.h60 const std::vector<fileapi::FileSystemURL>& file_urls,
/external/chromium/chrome/browser/extensions/
Dextension_file_browser_private_api.cc437 const std::vector<GURL>& file_urls) in ExecuteTasksFileSystemCallbackDispatcher() argument
443 origin_file_urls_(file_urls) { in ExecuteTasksFileSystemCallbackDispatcher()
652 std::vector<GURL> file_urls; in InitiateFileTaskExecution() local
659 file_urls.push_back(GURL(origin_file_url)); in InitiateFileTaskExecution()
668 file_urls)); in InitiateFileTaskExecution()
675 const std::vector<GURL>& file_urls) { in RequestFileEntryOnFileThread() argument
686 file_urls), in RequestFileEntryOnFileThread()
831 void FileDialogFunction::GetLocalPathsOnFileThread(const UrlList& file_urls, in GetLocalPathsOnFileThread() argument
842 size_t len = file_urls.size(); in GetLocalPathsOnFileThread()
845 const GURL& file_url = file_urls[i]; in GetLocalPathsOnFileThread()
[all …]
Dextension_file_browser_private_api.h66 const std::vector<GURL>& file_urls);
126 void GetLocalPathsOnFileThread(const UrlList& file_urls,
/external/chromium_org/chrome/browser/chromeos/drive/
Dfile_task_executor.cc38 const std::vector<FileSystemURL>& file_urls, in Execute() argument
43 for (size_t i = 0; i < file_urls.size(); ++i) { in Execute()
44 base::FilePath path = util::ExtractDrivePathFromFileSystemUrl(file_urls[i]); in Execute()
Dfile_task_executor.h32 const std::vector<fileapi::FileSystemURL>& file_urls,