Searched refs:BackendResult (Results 1 – 13 of 13) sorted by relevance
201 disk_cache::BackendResult result; in DoCallback()203 result = disk_cache::BackendResult::Make(std::move(created_cache_)); in DoCallback()206 result = disk_cache::BackendResult::MakeError( in DoCallback()288 BackendResult::BackendResult() = default;289 BackendResult::~BackendResult() = default;290 BackendResult::BackendResult(BackendResult&&) = default;291 BackendResult& BackendResult::operator=(BackendResult&&) = default;294 BackendResult BackendResult::MakeError(net::Error error_in) { in MakeError()296 BackendResult result; in MakeError()302 BackendResult BackendResult::Make(std::unique_ptr<Backend> backend_in) { in Make()[all …]
58 struct NET_EXPORT BackendResult { struct59 BackendResult();60 ~BackendResult();61 BackendResult(BackendResult&&);62 BackendResult& operator=(BackendResult&&); argument64 BackendResult(const BackendResult&) = delete;65 BackendResult& operator=(const BackendResult&) = delete; argument68 static BackendResult MakeError(net::Error error_in);70 static BackendResult Make(std::unique_ptr<Backend> backend_in);76 using BackendResultCallback = base::OnceCallback<void(BackendResult)>; argument[all …]
44 bool operator()(const disk_cache::BackendResult& result) const { in operator()49 net::internal::TestCompletionCallbackTemplate<disk_cache::BackendResult,
602 disk_cache::BackendResult rv = disk_cache::CreateCacheBackend( in TEST_F()629 disk_cache::BackendResult rv = disk_cache::CreateCacheBackend( in TEST_F()653 disk_cache::BackendResult rv = disk_cache::CreateCacheBackend( in TEST_F()658 disk_cache::BackendResult rv2 = disk_cache::CreateCacheBackend( in TEST_F()693 disk_cache::BackendResult rv = disk_cache::CreateCacheBackend( in TEST_F()698 disk_cache::BackendResult rv2 = disk_cache::CreateCacheBackend( in TEST_F()747 disk_cache::BackendResult rv = disk_cache::CreateCacheBackend( in TEST_F()796 disk_cache::BackendResult rv = disk_cache::CreateCacheBackend( in TEST_F()974 disk_cache::BackendResult backend_rv = disk_cache::CreateCacheBackend( in TEST_F()1123 disk_cache::BackendResult rv = disk_cache::CreateCacheBackend( in TEST_F()[all …]
77 virtual disk_cache::BackendResult CreateBackend(79 base::OnceCallback<void(disk_cache::BackendResult)> callback) = 0;107 disk_cache::BackendResult CreateBackend(109 base::OnceCallback<void(disk_cache::BackendResult)> callback) override;643 disk_cache::BackendResult result);
651 disk_cache::BackendResult MockBackendFactory::CreateBackend( in CreateBackend()654 return disk_cache::BackendResult::Make(std::make_unique<MockDiskCache>()); in CreateBackend()811 disk_cache::BackendResult MockBackendNoCbFactory::CreateBackend( in CreateBackend()814 return disk_cache::BackendResult::Make(std::make_unique<MockDiskCacheNoCB>()); in CreateBackend()822 disk_cache::BackendResult MockBlockingBackendFactory::CreateBackend( in CreateBackend()830 return disk_cache::BackendResult::MakeError(ERR_IO_PENDING); in CreateBackend()841 disk_cache::BackendResult MockBlockingBackendFactory::MakeResult() { in MakeResult()843 return disk_cache::BackendResult::MakeError(ERR_FAILED); in MakeResult()845 return disk_cache::BackendResult::Make(std::make_unique<MockDiskCache>()); in MakeResult()
283 disk_cache::BackendResult CreateBackend(361 disk_cache::BackendResult CreateBackend(372 disk_cache::BackendResult CreateBackend(387 disk_cache::BackendResult MakeResult();
101 disk_cache::BackendResult HttpCache::DefaultBackend::CreateBackend( in CreateBackend()103 base::OnceCallback<void(disk_cache::BackendResult)> callback) { in CreateBackend()593 disk_cache::BackendResult result = backend_factory_->CreateBackend( in CreateBackend()1506 disk_cache::BackendResult result) { in OnPendingBackendCreationOpComplete()
6035 std::move(callback).Run(disk_cache::BackendResult::MakeError(ERR_ABORTED)); in TEST_F()
19 struct BackendResult;97 void OnCreateBackendComplete(disk_cache::BackendResult result);
344 disk_cache::BackendResult result = disk_cache::CreateCacheBackend( in Init()359 disk_cache::BackendResult result) { in OnCreateBackendComplete()
93 BackendResult result; in CreateAndInitBackend()98 [](BackendResult* out, base::RunLoop* run_loop, in CreateAndInitBackend()99 BackendResult async_result) { in CreateAndInitBackend()
32 using disk_cache::BackendResult;756 BackendResult result = disk_cache::CreateCacheBackend( in main()