Home
last modified time | relevance | path

Searched refs:platform_path (Results 1 – 25 of 67) sorted by relevance

123

/external/chromium_org/content/browser/fileapi/
Dbrowser_file_system_helper.cc104 base::FilePath* platform_path) { in SyncGetPlatformPath() argument
107 DCHECK(platform_path); in SyncGetPlatformPath()
108 *platform_path = base::FilePath(); in SyncGetPlatformPath()
121 context->operation_runner()->SyncGetPlatformPath(url, platform_path); in SyncGetPlatformPath()
126 if (!policy->CanReadFile(process_id, *platform_path)) in SyncGetPlatformPath()
127 policy->GrantReadFile(process_id, *platform_path); in SyncGetPlatformPath()
Dplugin_private_file_system_backend_unittest.cc96 base::FilePath platform_path; in TEST_F() local
101 &platform_path)); in TEST_F()
103 platform_path)); in TEST_F()
130 base::FilePath platform_path; in TEST_F() local
Ddragged_file_util_unittest.cc297 base::FilePath platform_path; in TEST_F() local
300 file_util()->GetFileInfo(&context, url, &info, &platform_path)); in TEST_F()
307 platform_path.NormalizePathSeparators()); in TEST_F()
506 base::FilePath platform_path; in TEST_F() local
509 &info, &platform_path)); in TEST_F()
526 base::FilePath platform_path; in TEST_F() local
531 &info, &platform_path)); in TEST_F()
539 &info, &platform_path)); in TEST_F()
Dfileapi_message_filter.cc470 const GURL& path, base::FilePath* platform_path) { in OnSyncGetPlatformPath() argument
471 SyncGetPlatformPath(context_, process_id_, path, platform_path); in OnSyncGetPlatformPath()
771 const base::FilePath& platform_path, in DidCreateSnapshot() argument
782 webkit_blob::ShareableFileReference::Get(platform_path); in DidCreateSnapshot()
783 if (!security_policy_->CanReadFile(process_id_, platform_path)) { in DidCreateSnapshot()
790 security_policy_->GrantReadFile(process_id_, platform_path); in DidCreateSnapshot()
797 platform_path, in DidCreateSnapshot()
812 request_id, info, platform_path)); in DidCreateSnapshot()
/external/chromium_org/webkit/browser/fileapi/
Dtransient_file_util.cc33 base::FilePath* platform_path) { in CreateSnapshotFile() argument
35 *error = GetFileInfo(context, url, file_info, platform_path); in CreateSnapshotFile()
42 DCHECK(!platform_path->empty()); in CreateSnapshotFile()
46 *platform_path, in CreateSnapshotFile()
Dcopy_or_move_operation_delegate.cc133 const base::FilePath& platform_path, in RunAfterCreateSnapshot() argument
145 DCHECK(!platform_path.empty()); in RunAfterCreateSnapshot()
149 RunAfterPreWriteValidation(platform_path, file_info, file_ref, callback, in RunAfterCreateSnapshot()
156 platform_path, in RunAfterCreateSnapshot()
159 platform_path, file_info, file_ref, callback)); in RunAfterCreateSnapshot()
163 const base::FilePath& platform_path, in RunAfterPreWriteValidation() argument
179 platform_path, dest_url_, in RunAfterPreWriteValidation()
289 const base::FilePath& platform_path, in PreWriteValidation() argument
294 src_url_, platform_path)); in PreWriteValidation()
312 const base::FilePath& platform_path, in PostWriteValidationAfterCreateSnapshotFile() argument
[all …]
Ddragged_file_util.cc67 base::FilePath* platform_path) { in GetFileInfo() argument
89 *platform_path = url.path(); in GetFileInfo()
Dasync_file_test_helper.cc54 const base::FilePath& platform_path, in CreateSnapshotFileCallback() argument
59 *platform_path_out = platform_path; in CreateSnapshotFileCallback()
226 base::FilePath* platform_path) { in GetPlatformPath() argument
231 platform_path)); in GetPlatformPath()
Dfile_system_file_stream_reader.cc122 const base::FilePath& platform_path, in DidCreateSnapshot() argument
139 platform_path, initial_offset_, expected_modification_time_)); in DidCreateSnapshot()
Dfile_system_file_util.h97 base::FilePath* platform_path) = 0;
183 base::FilePath* platform_path) = 0;
/external/chromium_org/webkit/browser/fileapi/quota/
Dquota_reservation_buffer.cc34 const base::FilePath& platform_path) { in GetOpenFileHandle() argument
36 OpenFileHandleContext** open_file = &open_files_[platform_path]; in GetOpenFileHandle()
38 *open_file = new OpenFileHandleContext(platform_path, this); in GetOpenFileHandle()
65 DCHECK_EQ(open_file, open_files_[open_file->platform_path()]); in DetachOpenFileHandleContext()
66 open_files_.erase(open_file->platform_path()); in DetachOpenFileHandleContext()
Dopen_file_handle_context.cc13 const base::FilePath& platform_path, in OpenFileHandleContext() argument
17 platform_path_(platform_path), in OpenFileHandleContext()
21 base::GetFileSize(platform_path, &initial_file_size_); in OpenFileHandleContext()
Dopen_file_handle_context.h29 OpenFileHandleContext(const base::FilePath& platform_path,
36 const base::FilePath& platform_path() const { in platform_path() function
Dquota_reservation.cc34 const base::FilePath& platform_path) { in GetOpenFileHandle() argument
36 return reservation_buffer_->GetOpenFileHandle(this, platform_path); in GetOpenFileHandle()
/external/chromium_org/chrome/browser/media_galleries/fileapi/
Ditunes_file_util.cc94 base::FilePath* platform_path) { in GetFileInfoSync() argument
106 if (platform_path) in GetFileInfoSync()
107 *platform_path = file_path; in GetFileInfoSync()
118 platform_path); in GetFileInfoSync()
142 platform_path); in GetFileInfoSync()
266 base::FilePath* platform_path, in CreateSnapshotFileSync() argument
271 platform_path, file_ref); in CreateSnapshotFileSync()
281 return GetFileInfoSync(context, url, file_info, platform_path); in CreateSnapshotFileSync()
370 base::FilePath platform_path; in CreateSnapshotFileWithFreshDataProvider() local
376 platform_path, file_ref)); in CreateSnapshotFileWithFreshDataProvider()
Dmedia_file_validator_factory.cc48 const base::FilePath& platform_path) { in CreateCopyOrMoveFileValidator() argument
51 return new SupportedImageTypeValidator(platform_path); in CreateCopyOrMoveFileValidator()
53 return new SupportedAudioVideoChecker(platform_path); in CreateCopyOrMoveFileValidator()
Diphoto_file_util.cc141 base::FilePath platform_path; in CreateSnapshotFileWithFreshDataProvider() local
147 platform_path, file_ref)); in CreateSnapshotFileWithFreshDataProvider()
161 base::FilePath* platform_path) { in GetFileInfoSync() argument
190 context, url, file_info, platform_path); in GetFileInfoSync()
199 context, url, file_info, platform_path); in GetFileInfoSync()
Ddevice_media_async_file_util.cc284 const base::FilePath& platform_path) { in OnDidCreateSnapshotFile() argument
288 base::Bind(&NativeMediaFileUtil::IsMediaFile, platform_path), in OnDidCreateSnapshotFile()
294 platform_path, in OnDidCreateSnapshotFile()
304 base::FilePath platform_path(platform_file.get()->path()); in OnDidCheckMedia() local
307 callback.Run(error, file_info, platform_path, platform_file); in OnDidCheckMedia()
Dpicasa_file_util.cc103 base::PlatformFileInfo* file_info, base::FilePath* platform_path) { in GetFileInfoSync() argument
107 if (platform_path) in GetFileInfoSync()
108 *platform_path = base::FilePath(); in GetFileInfoSync()
140 platform_path); in GetFileInfoSync()
148 context, url, file_info, platform_path); in GetFileInfoSync()
Dnative_media_file_util.cc406 base::FilePath platform_path; in CreateSnapshotFileOnTaskRunnerThread() local
409 CreateSnapshotFileSync(context.get(), url, &file_info, &platform_path, in CreateSnapshotFileOnTaskRunnerThread()
414 base::Bind(callback, error, file_info, platform_path, file_ref)); in CreateSnapshotFileOnTaskRunnerThread()
491 base::FilePath* platform_path) { in GetFileInfoSync() argument
506 if (platform_path) in GetFileInfoSync()
507 *platform_path = file_path; in GetFileInfoSync()
608 base::FilePath* platform_path, in CreateSnapshotFileSync() argument
612 GetFileInfoSync(context, url, file_info, platform_path); in CreateSnapshotFileSync()
616 error = NativeMediaFileUtil::IsMediaFile(*platform_path); in CreateSnapshotFileSync()
Ditunes_file_util.h46 base::FilePath* platform_path) OVERRIDE;
61 base::FilePath* platform_path,
/external/chromium_org/content/renderer/pepper/
Durl_request_info_util.cc55 base::FilePath platform_path; in AppendFileRefToBody() local
78 file_ref_host->GetFileSystemURL(), &platform_path)); in AppendFileRefToBody()
81 platform_path = file_ref_host->GetExternalFilePath(); in AppendFileRefToBody()
87 platform_path.AsUTF16Unsafe(), in AppendFileRefToBody()
/external/chromium_org/content/browser/media/android/
Dmedia_resource_getter_impl.cc190 base::FilePath platform_path; in RequestPlaformPath() local
194 &platform_path); in RequestPlaformPath()
197 if (data_storage_path.IsParent(platform_path)) in RequestPlaformPath()
198 callback.Run(platform_path.value()); in RequestPlaformPath()
257 const GetPlatformPathCB& callback, const std::string& platform_path) { in GetPlatformPathCallback() argument
259 callback.Run(platform_path); in GetPlatformPathCallback()
/external/chromium_org/chrome/browser/sync_file_system/local/
Dcanned_syncable_file_system.cc103 const base::FilePath& platform_path, in OnCreateSnapshotFileAndVerifyData() argument
111 const bool read_status = base::ReadFileToString(platform_path, &data); in OnCreateSnapshotFileAndVerifyData()
123 const base::FilePath& platform_path, in OnCreateSnapshotFile() argument
129 *platform_path_out = platform_path; in OnCreateSnapshotFile()
434 base::FilePath* platform_path) { in GetMetadataAndPlatformPath() argument
442 platform_path)); in GetMetadataAndPlatformPath()
655 base::FilePath* platform_path, in DoGetMetadataAndPlatformPath() argument
660 url, base::Bind(&OnCreateSnapshotFile, info, platform_path, callback)); in DoGetMetadataAndPlatformPath()
/external/chromium_org/chrome/browser/download/
Dchrome_download_manager_delegate.cc436 base::FilePath platform_path( in OpenDownloadUsingPlatformHandler() local
438 DCHECK(!platform_path.empty()); in OpenDownloadUsingPlatformHandler()
439 platform_util::OpenItem(profile_, platform_path); in OpenDownloadUsingPlatformHandler()
483 base::FilePath platform_path( in ShowDownloadInShell() local
485 DCHECK(!platform_path.empty()); in ShowDownloadInShell()
486 platform_util::ShowItemInFolder(profile_, platform_path); in ShowDownloadInShell()

123