Home
last modified time | relevance | path

Searched refs:task_runner_ (Results 1 – 22 of 22) sorted by relevance

/third_party/cef/libcef/common/
Dtask_runner_impl.cc45 : task_runner_(task_runner) { in CefTaskRunnerImpl()
46 DCHECK(task_runner_.get()); in CefTaskRunnerImpl()
126 return (impl && task_runner_ == impl->task_runner_); in IsSame()
130 return task_runner_->RunsTasksInCurrentSequence(); in BelongsToCurrentThread()
136 return (task_runner_ == task_runner); in BelongsToThread()
140 return task_runner_->PostTask(FROM_HERE, in PostTask()
146 return task_runner_->PostDelayedTask( in PostDelayedTask()
Dtask_runner_impl.h35 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
/third_party/cef/libcef/browser/net_service/
Durl_loader_factory_getter.cc89 if (!task_runner_) { in GetURLLoaderFactory()
90 task_runner_ = base::ThreadTaskRunnerHandle::Get(); in GetURLLoaderFactory()
92 DCHECK(task_runner_->RunsTasksInCurrentSequence()); in GetURLLoaderFactory()
124 if (task_runner_ && !task_runner_->RunsTasksInCurrentSequence()) { in DeleteOnCorrectThread()
125 task_runner_->DeleteSoon(FROM_HERE, this); in DeleteOnCorrectThread()
Dlogin_delegate.cc24 task_runner_(base::SequencedTaskRunnerHandle::Get()) {} in AuthCallbackImpl()
32 task_runner_->PostTask(FROM_HERE, in ~AuthCallbackImpl()
38 if (!task_runner_->RunsTasksInCurrentSequence()) { in Continue()
39 task_runner_->PostTask( in Continue()
52 if (!task_runner_->RunsTasksInCurrentSequence()) { in Cancel()
53 task_runner_->PostTask(FROM_HERE, in Cancel()
66 scoped_refptr<base::SequencedTaskRunner> task_runner_; member in net_service::__anon337ea7750111::AuthCallbackImpl
Dbrowser_urlrequest_impl.cc133 task_runner_(CefTaskRunnerImpl::GetCurrentTaskRunner()), in Context()
160 task_runner_)); in Start()
190 return task_runner_->RunsTasksInCurrentSequence(); in CalledOnValidThread()
566 task_runner_->DeleteSoon(FROM_HERE, std::move(loader_)); in Cleanup()
567 task_runner_->ReleaseSoon(FROM_HERE, std::move(loader_factory_getter_)); in Cleanup()
584 scoped_refptr<base::SequencedTaskRunner> task_runner_; member in CefBrowserURLRequest::Context
Durl_loader_factory_getter.h66 scoped_refptr<base::SequencedTaskRunner> task_runner_; variable
/third_party/flutter/engine/flutter/fml/
Dmessage_loop.cc41 task_runner_(fml::MakeRefCounted<fml::TaskRunner>(loop_)) { in MessageLoop()
43 FML_CHECK(task_runner_); in MessageLoop()
57 return task_runner_; in GetTaskRunner()
Dthread.cc38 task_runner_ = runner; in Thread()
46 return task_runner_; in GetTaskRunner()
54 task_runner_->PostTask([]() { MessageLoop::GetCurrent().Terminate(); }); in Join()
Dthread.h31 fml::RefPtr<fml::TaskRunner> task_runner_; variable
Dmessage_loop.h50 fml::RefPtr<fml::TaskRunner> task_runner_; variable
/third_party/flutter/engine/flutter/flow/
Dskia_gpu_object.cc13 : task_runner_(std::move(task_runner)), in SkiaUnrefQueue()
30 task_runner_->PostDelayedTask( in Unref()
Dskia_gpu_object.h32 const fml::RefPtr<fml::TaskRunner> task_runner_;
/third_party/gn/src/gn/
Dloader.cc94 task_runner_ = MsgLoop::Current(); in LoaderImpl()
243 task_runner_->PostTask([this]() { DecrementPendingLoads(); }); in BackgroundLoadFile()
286 task_runner_->PostTask([this]() { DidLoadFile(); }); in BackgroundLoadFile()
294 task_runner_->PostTask([this]() { DecrementPendingLoads(); }); in BackgroundLoadBuildConfig()
360 task_runner_->PostTask( in BackgroundLoadBuildConfig()
Dloader.h95 void set_task_runner(MsgLoop* task_runner) { task_runner_ = task_runner; } in set_task_runner()
165 MsgLoop* task_runner_; variable
/third_party/cef/libcef/browser/
Dserver_impl.cc40 #define CEF_POST_TASK_HT(task) task_runner_->PostTask(FROM_HERE, task);
186 if (task_runner_) in GetTaskRunner()
187 return new CefTaskRunnerImpl(task_runner_); in GetTaskRunner()
532 task_runner_ = thread_->task_runner(); in StartOnUIThread()
670 return task_runner_ && task_runner_->BelongsToCurrentThread(); in CurrentlyOnHandlerThread()
Dserver_impl.h98 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; variable
/third_party/cef/libcef/browser/osr/
Dsoftware_output_device_proxy.cc39 task_runner_->PostTask( in OnSwapBuffers()
/third_party/cef/libcef/renderer/
Dv8_impl.h107 return task_runner_; in task_runner()
123 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; variable
Dv8_impl.cc90 task_runner_(CEF_RENDER_TASK_RUNNER()), in CefV8IsolateManager()
94 DCHECK(task_runner_.get()); in CefV8IsolateManager()
166 return task_runner_; in task_runner()
175 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; member in __anonf3b0d18e0111::CefV8IsolateManager
897 return task_runner_->RunsTasksInCurrentSequence(); in BelongsToCurrentThread()
909 task_runner_ = manager->task_runner(); in CefV8HandleBase()
/third_party/chromium/patch/
D0004-3.2-Beta5.patch7117 if (!task_runner_->RunsTasksInCurrentSequence()) {
7118 task_runner_->PostTask(
29909 + if (!task_runner_) {
29910 + task_runner_ = base::ThreadPool::CreateSequencedTaskRunner(
29923 + task_runner_->PostTaskAndReplyWithResult(
29966 + scoped_refptr<base::SequencedTaskRunner> task_runner_;
35136 DCHECK(task_runner_->RunsTasksInCurrentSequence());
35186 scoped_refptr<base::SequencedTaskRunner> task_runner_;
35559 task_runner_->PostTask(
35588 task_runner_);
[all …]
D0003-3.2-Beta3-1115.patch18449 task_runner_(base::SequencedTaskRunnerHandle::Get()) {}
18472 + if (!task_runner_->RunsTasksInCurrentSequence()) {
18473 + task_runner_->PostTask(
18490 scoped_refptr<base::SequencedTaskRunner> task_runner_;
44716 - task_runner_->PostTask(FROM_HERE,
44719 + task_runner_->PostTask(
50112 + task_runner_ = base::ThreadTaskRunnerHandle::Get();
50113 + if (!task_runner_) {
50119 + std::make_shared<OHOSMediaPlayerCallback>(task_runner_,
50143 + task_runner_, weak_factory_.GetWeakPtr(), consumer_surface_);
[all …]
D0001-cve.patch4276 task_runner_(execution_context.GetTaskRunner(TaskType::kPostedMessage)) {}
4312 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
4617 - std::move(wrapped_callback), task_runner_));
4619 + task_runner_));
4651 + DCHECK(task_runner_->RunsTasksInCurrentSequence());
4689 - std::move(wrapped_callback), task_runner_,
4692 + task_runner_, new_length));
4730 - DCHECK(task_runner_->RunsTasksInCurrentSequence());
4746 DCHECK(task_runner_->RunsTasksInCurrentSequence());
4778 - std::move(wrapped_callback), task_runner_));
[all …]