/external/chromium_org/content/public/test/ |
D | sandbox_file_system_test_helper.cc | 51 file_system_context_ = file_system_context; in SetUp() 59 file_system_context_ = CreateFileSystemContextForTesting( in SetUp() 66 file_system_context_ = NULL; in TearDown() 71 return file_system_context_->sandbox_delegate()-> in GetOriginRootPath() 90 return file_system_context_->sandbox_delegate()-> in GetUsageCachePath() 96 return file_system_context_->CreateCrackedFileSystemURL(origin_, type_, path); in CreateURL() 100 return file_system_context_->GetQuotaUtil(type_) in GetCachedOriginUsage() 102 file_system_context_.get(), origin_, type_); in GetCachedOriginUsage() 120 return file_system_context_->operation_runner(); in operation_runner() 125 DCHECK(file_system_context_.get()); in NewOperationContext() [all …]
|
/external/chromium_org/content/browser/fileapi/ |
D | file_system_operation_impl_write_unittest.cc | 77 file_system_context_ = CreateFileSystemContextForTesting( in SetUp() 80 new MockBlobURLRequestContext(file_system_context_.get())); in SetUp() 82 file_system_context_->operation_runner()->CreateFile( in SetUp() 87 file_system_context_->GetFileSystemBackend(kFileSystemType)) in SetUp() 93 file_system_context_ = NULL; in TearDown() 117 return file_system_context_->CreateCrackedFileSystemURL( in URLForPath() 155 scoped_refptr<storage::FileSystemContext> file_system_context_; member in content::FileSystemOperationImplWriteTest 183 file_system_context_->operation_runner()->Write( in TEST_F() 198 file_system_context_->operation_runner()->Write( in TEST_F() 213 file_system_context_->operation_runner()->Write( in TEST_F() [all …]
|
D | copy_or_move_file_validator_unittest.cc | 51 file_system_context_ = NULL; in ~CopyOrMoveFileValidatorTestHelper() 59 file_system_context_ = CreateFileSystemContextForTesting(NULL, base_dir); in SetUp() 63 file_system_context_->GetFileSystemBackend(kWithValidatorType); in SetUp() 69 file_system_context_->GetFileSystemBackend(src_type_); in SetUp() 98 file_system_context_->GetFileSystemBackend(kWithValidatorType)); in SetMediaCopyOrMoveFileValidatorFactory() 108 file_system_context_.get(), copy_src_, copy_dest_)); in CopyTest() 123 file_system_context_.get(), move_src_, move_dest_)); in MoveTest() 136 return file_system_context_->CreateCrackedFileSystemURL( in SourceURL() 142 return file_system_context_->CreateCrackedFileSystemURL( in DestURL() 149 AsyncFileTestHelper::CreateFile(file_system_context_.get(), url); in CreateFile() [all …]
|
D | file_system_url_request_job_unittest.cc | 89 : storage_domain_(storage_domain), file_system_context_(context) { in FileSystemURLRequestJobFactory() 97 request, network_delegate, storage_domain_, file_system_context_); in MaybeCreateJobWithProtocolHandler() 114 FileSystemContext* file_system_context_; member in content::__anonadd495930111::FileSystemURLRequestJobFactory 129 file_system_context_ = in SetUp() 132 file_system_context_->OpenFileSystem( in SetUp() 157 file_system_context_ = CreateFileSystemContextWithAutoMountersForTesting( in SetUpAutoMountContext() 196 TestRequestHelper(url, NULL, true, file_system_context_.get()); in TestRequest() 206 TestRequestHelper(url, headers, true, file_system_context_.get()); in TestRequestWithHeaders() 210 TestRequestHelper(url, NULL, false, file_system_context_.get()); in TestRequestNoRun() 214 FileSystemURL url = file_system_context_->CreateCrackedFileSystemURL( in CreateDirectory() [all …]
|
D | transient_file_util_unittest.cc | 29 file_system_context_ = CreateFileSystemContextForTesting( in SetUp() 37 file_system_context_ = NULL; in TearDown() 56 *file_url = file_system_context_->CreateCrackedFileSystemURL( in CreateAndRegisterTemporaryFile() 62 new storage::FileSystemOperationContext(file_system_context_.get())); in NewOperationContext() 72 scoped_refptr<storage::FileSystemContext> file_system_context_; member in content::TransientFileUtilTest
|
D | file_system_dir_url_request_job_unittest.cc | 80 : storage_domain_(storage_domain), file_system_context_(context) { in FileSystemDirURLRequestJobFactory() 88 request, network_delegate, storage_domain_, file_system_context_); in MaybeCreateJobWithProtocolHandler() 105 FileSystemContext* file_system_context_; member in content::__anond63283f10111::FileSystemDirURLRequestJobFactory 121 file_system_context_ = CreateFileSystemContextForTesting( in SetUp() 124 file_system_context_->OpenFileSystem( in SetUp() 150 file_system_context_ = CreateFileSystemContextWithAutoMountersForTesting( in SetUpAutoMountContext() 177 TestRequestHelper(url, true, file_system_context_.get()); in TestRequest() 186 TestRequestHelper(url, false, file_system_context_.get()); in TestRequestNoRun() 190 return file_system_context_->CreateCrackedFileSystemURL( in CreateURL() 196 new FileSystemOperationContext(file_system_context_.get())); in NewOperationContext() [all …]
|
D | upload_file_system_file_element_reader_unittest.cc | 42 file_system_context_ = CreateFileSystemContextForTesting( in SetUp() 45 file_system_context_->OpenFileSystem( in SetUp() 64 new UploadFileSystemFileElementReader(file_system_context_.get(), in SetUp() 92 file_system_context_->CreateCrackedFileSystemURL( in WriteFileSystemFile() 99 file_system_context_.get(), url, buf, buf_size)); in WriteFileSystemFile() 104 file_system_context_.get(), url, &file_info)); in WriteFileSystemFile() 118 scoped_refptr<FileSystemContext> file_system_context_; member in content::UploadFileSystemFileElementReaderTest 243 file_system_context_.get(), file_url_, kOffset, kLength, base::Time())); in TEST_F() 264 new UploadFileSystemFileElementReader(file_system_context_.get(), in TEST_F() 277 file_system_context_.get(), wrong_url, 0, kuint64max, base::Time())); in TEST_F()
|
D | file_system_operation_runner_unittest.cc | 48 file_system_context_ = in SetUp() 53 file_system_context_ = NULL; in TearDown() 58 return file_system_context_->CreateCrackedFileSystemURL( in URL() 65 return file_system_context_->operation_runner(); in operation_runner() 71 scoped_refptr<FileSystemContext> file_system_context_; member in content::FileSystemOperationRunnerTest
|
D | file_writer_delegate_unittest.cc | 91 return file_system_context_->GetQuotaUtil(kFileSystemType) in usage() 93 file_system_context_.get(), kOrigin, kFileSystemType); in usage() 106 file_system_context_.get(), url, &file_info)); in GetFileSizeOnDisk() 111 return file_system_context_->CreateCrackedFileSystemURL( in GetFileSystemURL() 121 file_system_context_.get(), in CreateWriterDelegate() 124 *file_system_context_->GetUpdateObservers(kFileSystemType)); in CreateWriterDelegate() 149 scoped_refptr<storage::FileSystemContext> file_system_context_; member in content::FileWriterDelegateTest 249 file_system_context_ = CreateFileSystemContextForTesting( in SetUp() 252 AsyncFileTestHelper::CreateFile(file_system_context_.get(), in SetUp() 259 file_system_context_ = NULL; in TearDown() [all …]
|
D | file_system_file_stream_reader_unittest.cc | 73 file_system_context_ = CreateFileSystemContextForTesting( in SetUp() 76 file_system_context_->OpenFileSystem( in SetUp() 96 return new FileSystemFileStreamReader(file_system_context_.get(), in CreateFileReader() 114 file_system_context_.get(), url, buf, buf_size)); in WriteFile() 119 file_system_context_.get(), url, &file_info)); in WriteFile() 132 return file_system_context_->CreateCrackedFileSystemURL( in GetFileSystemURL() 140 scoped_refptr<FileSystemContext> file_system_context_; member in content::FileSystemFileStreamReaderTest
|
D | fileapi_message_filter_unittest.cc | 52 file_system_context_ = in SetUp() 56 file_system_context_->GetFileSystemTypes(&types); in SetUp() 70 file_system_context_.get(), in SetUp() 82 scoped_refptr<storage::FileSystemContext> file_system_context_; member in content::FileAPIMessageFilterTest 94 file_system_context_.get(), in TEST_F() 119 file_system_context_.get(), in TEST_F() 126 file_system_context_.get(), in TEST_F()
|
D | copy_or_move_operation_delegate_unittest.cc | 173 file_system_context_ = NULL; in ~CopyOrMoveOperationTestHelper() 200 file_system_context_ = in SetUp() 205 file_system_context_->GetFileSystemBackend(src_type_); in SetUp() 210 backend = file_system_context_->GetFileSystemBackend(dest_type_); in SetUp() 251 return file_system_context_->CreateCrackedFileSystemURL( in SourceURL() 256 return file_system_context_->CreateCrackedFileSystemURL( in DestURL() 262 return AsyncFileTestHelper::Copy(file_system_context_.get(), src, dest); in Copy() 270 file_system_context_.get(), src, dest, progress_callback); in CopyWithProgress() 275 return AsyncFileTestHelper::Move(file_system_context_.get(), src, dest); in Move() 285 FileSystemURL url = file_system_context_->CreateCrackedFileSystemURL( in SetUpTestCaseFiles() [all …]
|
D | upload_file_system_file_element_reader.cc | 25 : file_system_context_(file_system_context), in UploadFileSystemFileElementReader() 46 stream_reader_ = file_system_context_->CreateFileStreamReader( in Init() 47 file_system_context_->CrackURL(url_), in Init()
|
/external/chromium_org/storage/browser/fileapi/ |
D | file_system_url_request_job_factory.cc | 35 FileSystemContext* const file_system_context_; member in storage::__anonc9df92650111::FileSystemProtocolHandler 44 file_system_context_(context) { in FileSystemProtocolHandler() 45 DCHECK(file_system_context_); in FileSystemProtocolHandler() 59 request, network_delegate, storage_domain_, file_system_context_); in MaybeCreateJob() 62 request, network_delegate, storage_domain_, file_system_context_); in MaybeCreateJob()
|
D | file_system_operation_runner.cc | 48 file_system_context_->CreateFileSystemOperation(url, &error); in CreateFile() 71 file_system_context_->CreateFileSystemOperation(url, &error); in CreateDirectory() 94 file_system_context_->CreateFileSystemOperation(dest_url, &error); in Copy() 121 file_system_context_->CreateFileSystemOperation(dest_url, &error); in Move() 142 file_system_context_->CreateFileSystemOperation(url, &error); in DirectoryExists() 162 file_system_context_->CreateFileSystemOperation(url, &error); in FileExists() 182 file_system_context_->CreateFileSystemOperation(url, &error); in GetMetadata() 202 file_system_context_->CreateFileSystemOperation(url, &error); in ReadDirectory() 223 file_system_context_->CreateFileSystemOperation(url, &error); in Remove() 246 file_system_context_->CreateFileSystemOperation(url, &error); in Write() [all …]
|
D | file_system_quota_client.cc | 85 : file_system_context_(file_system_context), in FileSystemQuotaClient() 114 FileSystemQuotaUtil* quota_util = file_system_context_->GetQuotaUtil(type); in GetOriginUsage() 126 file_system_context_, in GetOriginUsage() 148 file_system_context_, in GetOriginsForType() 173 file_system_context_, in GetOriginsForHost() 193 file_system_context_, in DeleteOriginData() 203 return file_system_context_->IsSandboxFileSystem(type); in DoesSupport() 207 return file_system_context_->default_file_task_runner(); in file_task_runner()
|
D | file_system_dir_url_request_job.cc | 41 file_system_context_(file_system_context), in FileSystemDirURLRequestJob() 84 url_ = file_system_context_->CrackURL(request_->url()); in StartAsync() 86 file_system_context_->AttemptAutoMountForURLRequest( in StartAsync() 93 if (!file_system_context_->CanServeURLRequest(url_)) { in StartAsync() 106 file_system_context_->operation_runner()->ReadDirectory( in StartAsync() 113 file_system_context_->CrackURL(request_->url()).is_valid()) { in DidAttemptAutoMount()
|
D | file_system_url_request_job.cc | 63 file_system_context_(file_system_context), in FileSystemURLRequestJob() 161 url_ = file_system_context_->CrackURL(request_->url()); in StartAsync() 163 file_system_context_->AttemptAutoMountForURLRequest( in StartAsync() 170 if (!file_system_context_->CanServeURLRequest(url_)) { in StartAsync() 175 file_system_context_->operation_runner()->GetMetadata( in StartAsync() 183 file_system_context_->CrackURL(request_->url()).is_valid()) { in DidAttemptAutoMount() 220 reader_ = file_system_context_->CreateFileStreamReader( in DidGetMetadata()
|
D | file_system_operation_context.cc | 14 : file_system_context_(context), in FileSystemOperationContext() 15 task_runner_(file_system_context_->default_file_task_runner()), in FileSystemOperationContext() 23 : file_system_context_(context), in FileSystemOperationContext()
|
D | recursive_operation_delegate.h | 111 FileSystemContext* file_system_context() { return file_system_context_; } in file_system_context() 113 return file_system_context_; in file_system_context() 139 FileSystemContext* file_system_context_; variable
|
/external/chromium_org/chrome/browser/sync_file_system/local/ |
D | root_delete_helper.cc | 41 : file_system_context_(file_system_context), in RootDeleteHelper() 46 DCHECK(file_system_context_.get()); in RootDeleteHelper() 62 file_system_context_->DeleteFileSystem( in Run() 78 file_system_context_->default_file_task_runner()->PostTaskAndReply( in DidDeleteFileSystem() 80 base::Bind(&ResetFileChangeTracker, file_system_context_, url_), in DidDeleteFileSystem() 90 file_system_context_->sandbox_delegate()->OpenFileSystem( in DidResetFileChangeTracker()
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
D | quota_reservation.cc | 30 : file_system_context_(file_system_context) { in QuotaReservation() 54 if (file_system_context_.get()) { in OpenFile() 56 file_system_context_->operation_runner()->SyncGetPlatformPath( in OpenFile() 120 if (file_system_context_.get()) { in GotReservedQuota() 133 if (file_system_context_.get() && in DeleteOnCorrectThread() 134 !file_system_context_->default_file_task_runner() in DeleteOnCorrectThread() 136 file_system_context_->default_file_task_runner()->DeleteSoon(FROM_HERE, in DeleteOnCorrectThread()
|
D | pepper_file_system_browser_host.cc | 61 file_system_context_(NULL), in PepperFileSystemBrowserHost() 70 file_system_context_->default_file_task_runner()->PostTask( in ~PepperFileSystemBrowserHost() 128 file_system_context_->default_file_task_runner(), in OpenQuotaFile() 149 file_system_context_->default_file_task_runner()->PostTask( in CloseQuotaFile() 222 file_system_context_->OpenFileSystem( in OpenFileSystem() 279 OpenPluginPrivateFileSystem(reply_context, fsid, file_system_context_); in OpenIsolatedFileSystem() 379 file_system_context_->default_file_task_runner()->PostTask( in OnHostMsgReserveQuota() 412 file_system_context_ = file_system_context; in SetFileSystemContext() 415 file_system_context_->CreateFileSystemOperationRunner(); in SetFileSystemContext() 426 file_system_context_->quota_manager_proxy(); in ShouldCreateQuotaReservation() [all …]
|
/external/chromium_org/chrome/browser/extensions/api/file_handlers/ |
D | mime_util_unittest.cc | 57 file_system_context_ = in SetUp() 68 scoped_refptr<storage::FileSystemContext> file_system_context_; member in extensions::app_file_handler_util::FileHandlersMimeUtilTest 109 file_system_context_.get(), in TEST_F() 112 file_system_context_.get(), in TEST_F() 114 urls.push_back(CreateNativeLocalFileSystemURL(file_system_context_.get(), in TEST_F()
|
/external/chromium_org/chrome/browser/chromeos/fileapi/ |
D | external_file_url_request_job.cc | 95 file_system_context_ = context; in RunOnUIThread() 123 file_system_context_, in ReplyResult() 131 scoped_refptr<storage::FileSystemContext> file_system_context_; member in chromeos::__anonad6330e40111::URLHelper 209 file_system_context_ = file_system_context; in OnHelperResultObtained() 214 file_system_context_->external_backend()->GetRedirectURLForContents( in OnHelperResultObtained() 230 file_system_context_->operation_runner()->GetMetadata( in OnRedirectURLObtained() 267 stream_reader_ = file_system_context_->CreateFileStreamReader( in OnFileInfoObtained() 282 file_system_context_ = NULL; in Kill()
|