Home
last modified time | relevance | path

Searched defs:MoveOnlyClosure (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/rtc_base/task_utils/
Dto_queued_task_unittest.cc83 struct MoveOnlyClosure { in TEST() struct
84 MoveOnlyClosure(int* num_moves, std::function<void()> trigger) in TEST() function
87 MoveOnlyClosure(MoveOnlyClosure&& other) in TEST() argument
91 void operator()() { trigger(); } in TEST()
93 int* num_moves; in TEST()
94 std::function<void()> trigger; in TEST()
108 struct MoveOnlyClosure { in TEST() struct
111 void operator()() { trigger(); } in TEST()
113 std::function<void()> trigger; in TEST()
Drepeating_task_unittest.cc62 class MoveOnlyClosure { class
64 explicit MoveOnlyClosure(MockClosure* mock) : mock_(mock) {} in MoveOnlyClosure() function in webrtc::__anon41be247b0111::MoveOnlyClosure
66 MoveOnlyClosure(MoveOnlyClosure&& other) : mock_(other.mock_) { in MoveOnlyClosure() function in webrtc::__anon41be247b0111::MoveOnlyClosure