Searched refs:TestIOHandler (Results 1 – 1 of 1) sorted by relevance
/external/libchrome/base/message_loop/ |
D | message_loop_unittest.cc | 429 class TestIOHandler : public MessageLoopForIO::IOHandler { class 431 TestIOHandler(const wchar_t* name, HANDLE signal, bool wait); 450 TestIOHandler::TestIOHandler(const wchar_t* name, HANDLE signal, bool wait) in TestIOHandler() function in base::__anona43c38fc0111::TestIOHandler 459 void TestIOHandler::Init() { in Init() 469 void TestIOHandler::OnIOCompleted(MessageLoopForIO::IOContext* context, in OnIOCompleted() 475 void TestIOHandler::WaitForIO() { in WaitForIO() 497 TestIOHandler handler(kPipeName, callback_called.Get(), false); in RunTest_IOHandler() 498 thread_loop->PostTask(FROM_HERE, Bind(&TestIOHandler::Init, in RunTest_IOHandler() 538 TestIOHandler handler1(kPipeName1, callback1_called.Get(), false); in RunTest_WaitForIO() 539 TestIOHandler handler2(kPipeName2, callback2_called.Get(), true); in RunTest_WaitForIO() [all …]
|