Public Member Functions | |
| CompatTaskRunner (async_dispatcher_t *dispatcher) | |
| void | PostTask (const fml::closure &task) override |
| void | PostTaskForTime (const fml::closure &task, fml::TimePoint target_time) override |
| void | PostDelayedTask (const fml::closure &task, fml::TimeDelta delay) override |
| bool | RunsTasksOnCurrentThread () override |
Public Member Functions inherited from fml::TaskRunner | |
| virtual | ~TaskRunner () |
| virtual TaskQueueId | GetTaskQueueId () |
Public Member Functions inherited from fml::RefCountedThreadSafe< TaskRunner > | |
| void | Release () const |
Public Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
| void | AddRef () const |
| bool | HasOneRef () const |
| void | AssertHasOneRef () const |
Additional Inherited Members | |
Static Public Member Functions inherited from fml::TaskRunner | |
| static void | RunNowOrPostTask (const fml::RefPtr< fml::TaskRunner > &runner, const fml::closure &task) |
| static void | RunNowAndFlushMessages (const fml::RefPtr< fml::TaskRunner > &runner, const fml::closure &task) |
Protected Member Functions inherited from fml::TaskRunner | |
| TaskRunner (fml::RefPtr< MessageLoopImpl > loop) | |
Protected Member Functions inherited from fml::RefCountedThreadSafe< TaskRunner > | |
| RefCountedThreadSafe () | |
| ~RefCountedThreadSafe () | |
Protected Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
| RefCountedThreadSafeBase () | |
| ~RefCountedThreadSafeBase () | |
| bool | Release () const |
| void | Adopt () |
Definition at line 15 of file task_runner_adapter.cc.
|
inline |
Definition at line 17 of file task_runner_adapter.cc.
References FML_DCHECK.
|
inlineoverridevirtual |
Schedules a task to be run on the MessageLoop after the time delay has passed.
Reimplemented from fml::TaskRunner.
Definition at line 33 of file task_runner_adapter.cc.
References fml::TimeDelta::ToNanoseconds().
|
inlineoverridevirtual |
Schedules task to be executed on the TaskRunner's associated event loop.
Reimplemented from fml::TaskRunner.
Definition at line 22 of file task_runner_adapter.cc.
|
inlineoverridevirtual |
Reimplemented from fml::TaskRunner.
Definition at line 26 of file task_runner_adapter.cc.
References fml::TimePoint::ToEpochDelta(), and fml::TimeDelta::ToNanoseconds().
|
inlineoverridevirtual |
Returns true when the current executing thread's TaskRunner matches this instance.
Reimplemented from fml::TaskRunner.
Definition at line 39 of file task_runner_adapter.cc.