Home
last modified time | relevance | path

Searched refs:TID_IO (Results 1 – 25 of 26) sorted by relevance

12

/third_party/cef/tests/ceftests/
Dtask_unittest.cc29 EXPECT_FALSE(runner->BelongsToThread(TID_IO)); in GetForCurrentThread()
38 CefRefPtr<CefTaskRunner> runner3 = CefTaskRunner::GetForThread(TID_IO); in GetForCurrentThread()
49 CefRefPtr<CefTaskRunner> runner = CefTaskRunner::GetForThread(TID_IO); in GetForThread()
52 EXPECT_TRUE(runner->BelongsToThread(TID_IO)); in GetForThread()
56 CefRefPtr<CefTaskRunner> runner2 = CefTaskRunner::GetForThread(TID_IO); in GetForThread()
76 EXPECT_TRUE(runner->BelongsToThread(TID_IO)); in PostTaskEvent1()
83 EXPECT_TRUE(runner2->BelongsToThread(TID_IO)); in PostTaskEvent1()
89 CefRefPtr<CefTaskRunner> runner3 = CefTaskRunner::GetForThread(TID_IO); in PostTaskEvent1()
92 EXPECT_TRUE(runner3->BelongsToThread(TID_IO)); in PostTaskEvent1()
102 EXPECT_FALSE(runner4->BelongsToThread(TID_IO)); in PostTaskEvent1()
[all …]
Dthread_helper.h21 #define WaitForIOThread() WaitForThread(TID_IO)
24 #define WaitForIOThreadWithDelay(delay_ms) WaitForThread(TID_IO, delay_ms)
31 #define EXPECT_IO_THREAD() EXPECT_TRUE(CefCurrentlyOn(TID_IO));
Dtest_handler.cc406 if (!CefCurrentlyOn(TID_IO)) { in AddResourceEx()
407 CefPostTask(TID_IO, base::BindOnce(&TestHandler::AddResourceEx, this, url, in AddResourceEx()
422 if (!CefCurrentlyOn(TID_IO)) { in ClearResources()
423 CefPostTask(TID_IO, base::BindOnce(&TestHandler::ClearResources, this)); in ClearResources()
Drequest_handler_unittest.cc101 EXPECT_TRUE(CefCurrentlyOn(TID_IO)); in OnBeforeResourceLoad()
121 EXPECT_TRUE(CefCurrentlyOn(TID_IO)); in GetResourceHandler()
143 EXPECT_TRUE(CefCurrentlyOn(TID_IO)); in OnResourceLoadComplete()
Dscheme_handler_unittest.cc263 EXPECT_TRUE(CefCurrentlyOn(TID_IO)); in ProcessRequest()
310 TID_IO, base::BindOnce(&CefCallback::Continue, callback.get()), in ProcessRequest()
362 void Cancel() override { EXPECT_TRUE(CefCurrentlyOn(TID_IO)); } in Cancel()
368 EXPECT_TRUE(CefCurrentlyOn(TID_IO)); in ReadResponse()
374 TID_IO, in ReadResponse()
435 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Open()
551 void Cancel() override { EXPECT_TRUE(CefCurrentlyOn(TID_IO)); } in Cancel()
557 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Read()
590 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in ContinueAfterDelay()
645 EXPECT_TRUE(CefCurrentlyOn(TID_IO)); in Create()
Ddownload_unittest.cc44 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Open()
87 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Read()
Dprocess_message_unittest.cc167 CefRefPtr<SendRecvTestHandler> handler = new SendRecvTestHandler(TID_IO); in TEST()
Durlrequest_unittest.cc663 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Open()
709 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Read()
842 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Open()
1033 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Open()
1078 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Read()
1189 if (!CefCurrentlyOn(TID_IO)) { in OnHandlerDestroyed()
1190 CefPostTask(TID_IO, in OnHandlerDestroyed()
1202 if (!CefCurrentlyOn(TID_IO)) { in Shutdown()
1203 CefPostTask(TID_IO, base::BindOnce(&RequestSchemeHandlerFactory::Shutdown, in Shutdown()
2654 scheme_factory_->SetOwnerTaskRunner(CefTaskRunner::GetForThread(TID_IO)); in AddSchemeHandler()
Dnavigation_unittest.cc713 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Open()
749 EXPECT_TRUE(CefCurrentlyOn(TID_IO)); in GetResponseHeaders()
772 void Cancel() override { EXPECT_TRUE(CefCurrentlyOn(TID_IO)); } in Cancel()
778 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Read()
820 EXPECT_TRUE(CefCurrentlyOn(TID_IO)); in Create()
2871 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Open()
2892 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Read()
3090 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Open()
3114 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Read()
Dcookie_unittest.cc723 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Open()
771 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Read()
1124 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Open()
1156 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Read()
1233 if (!CefCurrentlyOn(TID_IO)) { in Shutdown()
1234 CefPostTask(TID_IO, base::BindOnce(std::move(complete_callback))); in Shutdown()
Dthread_unittest.cc284 new BrowserThreadTestHandler(TID_IO); in TEST()
Dresource_request_handler_unittest.cc111 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Open()
148 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Read()
178 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in ContinueRead()
347 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Open()
385 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Read()
/third_party/cef/libcef_dll/wrapper/
Dcef_resource_manager.cc148 CefPostTask(TID_IO, in OpenOnFileThread()
245 CefPostTask(TID_IO, base::BindOnce(&ArchiveProvider::ContinueOnIOThread, in LoadOnFileThread()
336 if (!CefCurrentlyOn(TID_IO)) { in Continue()
337 CefPostTask(TID_IO, base::BindOnce(&CefResourceManager::Request::Continue, in Continue()
348 CefPostTask(TID_IO, in Continue()
354 if (!CefCurrentlyOn(TID_IO)) { in Stop()
355 CefPostTask(TID_IO, in Stop()
366 CefPostTask(TID_IO, in Stop()
475 if (!CefCurrentlyOn(TID_IO)) { in AddProvider()
476 CefPostTask(TID_IO, base::BindOnce(&CefResourceManager::AddProvider, this, in AddProvider()
[all …]
Dcef_stream_resource_handler.cc40 DCHECK(!CefCurrentlyOn(TID_UI) && !CefCurrentlyOn(TID_IO)); in Open()
68 DCHECK(!CefCurrentlyOn(TID_UI) && !CefCurrentlyOn(TID_IO)); in Read()
/third_party/cef/tests/cefclient/browser/
Dscheme_test.cc34 DCHECK(!CefCurrentlyOn(TID_UI) && !CefCurrentlyOn(TID_IO)); in Open()
100 DCHECK(!CefCurrentlyOn(TID_UI) && !CefCurrentlyOn(TID_IO)); in Read()
Dtest_runner.cc801 if (!CefCurrentlyOn(TID_IO)) { in SetupResourceManager()
803 CefPostTask(TID_IO, base::BindOnce(SetupResourceManager, resource_manager, in SetupResourceManager()
Dclient_handler.cc1034 if (!CefCurrentlyOn(TID_IO)) { in SetStringResource()
1035 CefPostTask(TID_IO, base::BindOnce(&ClientHandler::SetStringResource, this, in SetStringResource()
/third_party/cef/include/wrapper/
Dcef_helpers.h49 #define CEF_REQUIRE_IO_THREAD() DCHECK(CefCurrentlyOn(TID_IO));
93 struct CefDeleteOnIOThread : public CefDeleteOnThread<TID_IO> {};
Dcef_resource_manager.h314 friend struct CefDeleteOnThread<TID_IO>;
/third_party/cef/libcef/common/
Dwaitable_event_impl.cc15 if (CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)) { in AllowWait()
Dfile_util_impl.cc17 if (CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)) { in AllowFileIO()
Dtask_runner_impl.cc69 case TID_IO: in GetTaskRunner()
/third_party/cef/tests/shared/browser/
Dextension_util.cc195 if (!CefCurrentlyOn(TID_IO)) { in AddInternalExtensionToResourceManager()
197 CefPostTask(TID_IO, base::BindOnce(AddInternalExtensionToResourceManager, in AddInternalExtensionToResourceManager()
Dfile_util.cc20 if (CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)) { in AllowFileIO()
/third_party/cef/include/internal/
Dcef_types.h1423 TID_IO, enumerator

12