Danil Chapovalov a7e15a2b7e Introduce helper to guard an invocable with a safety flag
This helper suppose to replace ToQueuedTask when calls to TaskQueueBase interfaces are converted to PostTask variants that take absl::AnyInvocable.

Bug: webrtc:14245
Change-Id: I590a6ca068cf5e682ffb34770bd54cf5ce37d826
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/267706
Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37449}
2022-07-05 15:45:23 +00:00
..
2022-06-28 08:32:13 +00:00
2019-07-08 13:45:15 +00:00
2021-09-21 16:28:38 +00:00
2021-09-21 16:28:38 +00:00
2022-06-28 08:32:13 +00:00
2019-07-08 13:45:15 +00:00
2022-06-07 07:14:06 +00:00
2019-07-08 13:45:15 +00:00
2022-04-25 16:01:40 +00:00
2019-07-08 13:45:15 +00:00
2022-01-28 15:13:45 +00:00
2022-05-11 14:37:04 +00:00
2022-05-11 14:37:04 +00:00
2021-08-31 14:27:49 +00:00
2019-02-16 11:11:45 +00:00
2019-07-08 13:45:15 +00:00
2019-11-26 14:05:20 +00:00
2021-04-22 13:04:53 +00:00
2019-07-08 13:45:15 +00:00
2021-04-16 08:47:17 +00:00
2021-09-21 15:17:26 +00:00
2022-06-28 08:32:13 +00:00
2022-06-28 08:32:13 +00:00
2022-01-25 15:39:53 +00:00
2021-02-10 15:04:55 +00:00
2019-07-08 13:45:15 +00:00
2021-10-13 19:26:10 +00:00
2019-07-08 13:45:15 +00:00