Lines Matching refs:MessageLoop
18 MessageLoop::current()->Quit();
33 void RunTest_BasicSignal(MessageLoop::Type message_loop_type) {
34 MessageLoop message_loop(message_loop_type);
48 MessageLoop::current()->Run();
53 void RunTest_BasicCancel(MessageLoop::Type message_loop_type) {
54 MessageLoop message_loop(message_loop_type);
67 void RunTest_CancelAfterSet(MessageLoop::Type message_loop_type) {
68 MessageLoop message_loop(message_loop_type);
87 MessageLoop::current()->RunAllPending();
93 void RunTest_OutlivesMessageLoop(MessageLoop::Type message_loop_type) {
94 // Simulate a MessageLoop that dies before an WaitableEventWatcher. This
101 MessageLoop message_loop(message_loop_type);
109 void RunTest_DeleteUnder(MessageLoop::Type message_loop_type) {
113 MessageLoop message_loop(message_loop_type);
130 RunTest_BasicSignal(MessageLoop::TYPE_DEFAULT);
131 RunTest_BasicSignal(MessageLoop::TYPE_IO);
132 RunTest_BasicSignal(MessageLoop::TYPE_UI);
136 RunTest_BasicCancel(MessageLoop::TYPE_DEFAULT);
137 RunTest_BasicCancel(MessageLoop::TYPE_IO);
138 RunTest_BasicCancel(MessageLoop::TYPE_UI);
142 RunTest_CancelAfterSet(MessageLoop::TYPE_DEFAULT);
143 RunTest_CancelAfterSet(MessageLoop::TYPE_IO);
144 RunTest_CancelAfterSet(MessageLoop::TYPE_UI);
148 RunTest_OutlivesMessageLoop(MessageLoop::TYPE_DEFAULT);
149 RunTest_OutlivesMessageLoop(MessageLoop::TYPE_IO);
150 RunTest_OutlivesMessageLoop(MessageLoop::TYPE_UI);
160 RunTest_DeleteUnder(MessageLoop::TYPE_DEFAULT);
161 RunTest_DeleteUnder(MessageLoop::TYPE_IO);
162 RunTest_DeleteUnder(MessageLoop::TYPE_UI);