/third_party/cef/tests/ceftests/ |
D | task_unittest.cc | 29 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 …]
|
D | thread_helper.h | 21 #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));
|
D | test_handler.cc | 406 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()
|
D | request_handler_unittest.cc | 101 EXPECT_TRUE(CefCurrentlyOn(TID_IO)); in OnBeforeResourceLoad() 121 EXPECT_TRUE(CefCurrentlyOn(TID_IO)); in GetResourceHandler() 143 EXPECT_TRUE(CefCurrentlyOn(TID_IO)); in OnResourceLoadComplete()
|
D | scheme_handler_unittest.cc | 263 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()
|
D | download_unittest.cc | 44 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Open() 87 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Read()
|
D | process_message_unittest.cc | 167 CefRefPtr<SendRecvTestHandler> handler = new SendRecvTestHandler(TID_IO); in TEST()
|
D | urlrequest_unittest.cc | 663 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()
|
D | navigation_unittest.cc | 713 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()
|
D | cookie_unittest.cc | 723 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()
|
D | thread_unittest.cc | 284 new BrowserThreadTestHandler(TID_IO); in TEST()
|
D | resource_request_handler_unittest.cc | 111 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/ |
D | cef_resource_manager.cc | 148 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 …]
|
D | cef_stream_resource_handler.cc | 40 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/ |
D | scheme_test.cc | 34 DCHECK(!CefCurrentlyOn(TID_UI) && !CefCurrentlyOn(TID_IO)); in Open() 100 DCHECK(!CefCurrentlyOn(TID_UI) && !CefCurrentlyOn(TID_IO)); in Read()
|
D | test_runner.cc | 801 if (!CefCurrentlyOn(TID_IO)) { in SetupResourceManager() 803 CefPostTask(TID_IO, base::BindOnce(SetupResourceManager, resource_manager, in SetupResourceManager()
|
D | client_handler.cc | 1034 if (!CefCurrentlyOn(TID_IO)) { in SetStringResource() 1035 CefPostTask(TID_IO, base::BindOnce(&ClientHandler::SetStringResource, this, in SetStringResource()
|
/third_party/cef/include/wrapper/ |
D | cef_helpers.h | 49 #define CEF_REQUIRE_IO_THREAD() DCHECK(CefCurrentlyOn(TID_IO)); 93 struct CefDeleteOnIOThread : public CefDeleteOnThread<TID_IO> {};
|
D | cef_resource_manager.h | 314 friend struct CefDeleteOnThread<TID_IO>;
|
/third_party/cef/libcef/common/ |
D | waitable_event_impl.cc | 15 if (CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)) { in AllowWait()
|
D | file_util_impl.cc | 17 if (CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)) { in AllowFileIO()
|
D | task_runner_impl.cc | 69 case TID_IO: in GetTaskRunner()
|
/third_party/cef/tests/shared/browser/ |
D | extension_util.cc | 195 if (!CefCurrentlyOn(TID_IO)) { in AddInternalExtensionToResourceManager() 197 CefPostTask(TID_IO, base::BindOnce(AddInternalExtensionToResourceManager, in AddInternalExtensionToResourceManager()
|
D | file_util.cc | 20 if (CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)) { in AllowFileIO()
|
/third_party/cef/include/internal/ |
D | cef_types.h | 1423 TID_IO, enumerator
|