Searched refs:TestIOHandler (Results 1 – 1 of 1) sorted by relevance
/external/libchrome/base/message_loop/ |
D | message_loop_unittest.cc | 493 class TestIOHandler : public MessageLoopForIO::IOHandler { class 495 TestIOHandler(const wchar_t* name, HANDLE signal, bool wait); 514 TestIOHandler::TestIOHandler(const wchar_t* name, HANDLE signal, bool wait) in TestIOHandler() function in base::__anon9ed8289d0111::TestIOHandler 525 void TestIOHandler::Init() { in Init() 535 void TestIOHandler::OnIOCompleted(MessageLoopForIO::IOContext* context, in OnIOCompleted() 541 void TestIOHandler::WaitForIO() { in WaitForIO() 563 TestIOHandler handler(kPipeName, callback_called.Get(), false); in RunTest_IOHandler() 564 thread_loop->PostTask(FROM_HERE, Bind(&TestIOHandler::Init, in RunTest_IOHandler() 604 TestIOHandler handler1(kPipeName1, callback1_called.Get(), false); in RunTest_WaitForIO() 605 TestIOHandler handler2(kPipeName2, callback2_called.Get(), true); in RunTest_WaitForIO() [all …]
|