injector 36 base/message_loop/message_pump_glib_unittest.cc source_->injector = this; injector 101 base/message_loop/message_pump_glib_unittest.cc EventInjector* injector; injector 118 base/message_loop/message_pump_glib_unittest.cc *timeout_ms = static_cast<Source*>(source)->injector->HandlePrepare(); injector 123 base/message_loop/message_pump_glib_unittest.cc return static_cast<Source*>(source)->injector->HandleCheck(); injector 129 base/message_loop/message_pump_glib_unittest.cc static_cast<Source*>(source)->injector->HandleDispatch(); injector 152 base/message_loop/message_pump_glib_unittest.cc void ExpectProcessedEvents(EventInjector* injector, int count) { injector 153 base/message_loop/message_pump_glib_unittest.cc EXPECT_EQ(injector->processed_events(), count); injector 195 base/message_loop/message_pump_glib_unittest.cc EXPECT_EQ(0, injector()->processed_events()); injector 197 base/message_loop/message_pump_glib_unittest.cc injector()->Reset(); injector 199 base/message_loop/message_pump_glib_unittest.cc injector()->AddEvent(0, MessageLoop::QuitWhenIdleClosure()); injector 201 base/message_loop/message_pump_glib_unittest.cc EXPECT_EQ(1, injector()->processed_events()); injector 212 base/message_loop/message_pump_glib_unittest.cc injector()->AddEventAsTask(0, Bind(&DoNothing)); injector 214 base/message_loop/message_pump_glib_unittest.cc Bind(&ExpectProcessedEvents, Unretained(injector()), 2); injector 217 base/message_loop/message_pump_glib_unittest.cc injector()->AddEventAsTask(0, posted_task); injector 218 base/message_loop/message_pump_glib_unittest.cc injector()->AddEventAsTask(0, Bind(&DoNothing)); injector 219 base/message_loop/message_pump_glib_unittest.cc injector()->AddEvent(0, MessageLoop::QuitWhenIdleClosure()); injector 221 base/message_loop/message_pump_glib_unittest.cc EXPECT_EQ(4, injector()->processed_events()); injector 223 base/message_loop/message_pump_glib_unittest.cc injector()->Reset(); injector 224 base/message_loop/message_pump_glib_unittest.cc injector()->AddEventAsTask(0, Bind(&DoNothing)); injector 226 base/message_loop/message_pump_glib_unittest.cc Bind(&ExpectProcessedEvents, Unretained(injector()), 2); injector 228 base/message_loop/message_pump_glib_unittest.cc injector()->AddEventAsTask(0, posted_task); injector 229 base/message_loop/message_pump_glib_unittest.cc injector()->AddEventAsTask(10, Bind(&DoNothing)); injector 230 base/message_loop/message_pump_glib_unittest.cc injector()->AddEvent(0, MessageLoop::QuitWhenIdleClosure()); injector 232 base/message_loop/message_pump_glib_unittest.cc EXPECT_EQ(4, injector()->processed_events()); injector 246 base/message_loop/message_pump_glib_unittest.cc Bind(&EventInjector::AddEvent, Unretained(injector()), 0, injector 250 base/message_loop/message_pump_glib_unittest.cc EXPECT_EQ(1, injector()->processed_events()); injector 253 base/message_loop/message_pump_glib_unittest.cc injector()->Reset(); injector 267 base/message_loop/message_pump_glib_unittest.cc Bind(&EventInjector::AddEvent, Unretained(injector()), 10, injector 272 base/message_loop/message_pump_glib_unittest.cc EXPECT_EQ(1, injector()->processed_events()); injector 279 base/message_loop/message_pump_glib_unittest.cc injector()->AddDummyEvent(0); injector 285 base/message_loop/message_pump_glib_unittest.cc Bind(&ExpectProcessedEvents, Unretained(injector()), 11); injector 288 base/message_loop/message_pump_glib_unittest.cc injector()->AddEventAsTask(10, posted_task); injector 291 base/message_loop/message_pump_glib_unittest.cc injector()->AddEvent(10, MessageLoop::QuitWhenIdleClosure()); injector 294 base/message_loop/message_pump_glib_unittest.cc EXPECT_EQ(12, injector()->processed_events()); injector 304 base/message_loop/message_pump_glib_unittest.cc explicit ConcurrentHelper(EventInjector* injector) injector 305 base/message_loop/message_pump_glib_unittest.cc : injector_(injector), injector 358 base/message_loop/message_pump_glib_unittest.cc scoped_refptr<ConcurrentHelper> helper = new ConcurrentHelper(injector()); injector 362 base/message_loop/message_pump_glib_unittest.cc injector()->AddEventAsTask( injector 364 base/message_loop/message_pump_glib_unittest.cc injector()->AddEventAsTask( injector 380 base/message_loop/message_pump_glib_unittest.cc void AddEventsAndDrainGLib(EventInjector* injector) { injector 382 base/message_loop/message_pump_glib_unittest.cc injector->AddDummyEvent(0); injector 383 base/message_loop/message_pump_glib_unittest.cc injector->AddDummyEvent(0); injector 385 base/message_loop/message_pump_glib_unittest.cc injector->AddEvent(0, MessageLoop::QuitWhenIdleClosure()); injector 403 base/message_loop/message_pump_glib_unittest.cc Bind(&AddEventsAndDrainGLib, Unretained(injector()))); injector 406 base/message_loop/message_pump_glib_unittest.cc EXPECT_EQ(3, injector()->processed_events()); injector 413 base/message_loop/message_pump_glib_unittest.cc void AddEventsAndDrainGtk(EventInjector* injector) { injector 415 base/message_loop/message_pump_glib_unittest.cc injector->AddDummyEvent(0); injector 416 base/message_loop/message_pump_glib_unittest.cc injector->AddDummyEvent(0); injector 418 base/message_loop/message_pump_glib_unittest.cc injector->AddEvent(0, MessageLoop::QuitWhenIdleClosure()); injector 438 base/message_loop/message_pump_glib_unittest.cc Bind(&AddEventsAndDrainGtk, Unretained(injector()))); injector 441 base/message_loop/message_pump_glib_unittest.cc EXPECT_EQ(3, injector()->processed_events()); injector 486 base/message_loop/message_pump_glib_unittest.cc void TestGLibLoopInternal(EventInjector* injector) { injector 493 base/message_loop/message_pump_glib_unittest.cc injector->AddDummyEvent(0); injector 494 base/message_loop/message_pump_glib_unittest.cc injector->AddDummyEvent(0); injector 501 base/message_loop/message_pump_glib_unittest.cc injector->AddDummyEvent(10); injector 502 base/message_loop/message_pump_glib_unittest.cc injector->AddDummyEvent(10); injector 517 base/message_loop/message_pump_glib_unittest.cc EXPECT_EQ(4, injector->processed_events()); injector 521 base/message_loop/message_pump_glib_unittest.cc void TestGtkLoopInternal(EventInjector* injector) { injector 528 base/message_loop/message_pump_glib_unittest.cc injector->AddDummyEvent(0); injector 529 base/message_loop/message_pump_glib_unittest.cc injector->AddDummyEvent(0); injector 536 base/message_loop/message_pump_glib_unittest.cc injector->AddDummyEvent(10); injector 537 base/message_loop/message_pump_glib_unittest.cc injector->AddDummyEvent(10); injector 552 base/message_loop/message_pump_glib_unittest.cc EXPECT_EQ(4, injector->processed_events()); injector 565 base/message_loop/message_pump_glib_unittest.cc Bind(&TestGLibLoopInternal, Unretained(injector()))); injector 576 base/message_loop/message_pump_glib_unittest.cc Bind(&TestGtkLoopInternal, Unretained(injector()))); injector 983 chrome/browser/download/download_browsertest.cc scoped_refptr<content::TestFileErrorInjector> injector, injector 996 chrome/browser/download/download_browsertest.cc injector->ClearErrors(); injector 997 chrome/browser/download/download_browsertest.cc injector->AddError(info.error_info); injector 999 chrome/browser/download/download_browsertest.cc injector->InjectErrors(); injector 1004 chrome/browser/download/download_browsertest.cc EXPECT_EQ(expected_successes, injector->TotalFileCount()) << s.str(); injector 1005 chrome/browser/download/download_browsertest.cc EXPECT_EQ(0u, injector->CurrentFileCount()) << s.str(); injector 1008 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(injector->HadFile(GURL(info.error_info.url))) << s.str(); injector 1016 chrome/browser/download/download_browsertest.cc scoped_refptr<content::TestFileErrorInjector> injector( injector 1027 chrome/browser/download/download_browsertest.cc DownloadInsertFilesErrorCheckErrorsLoopBody(injector, info[i], i); injector 1290 content/browser/download/download_browsertest.cc scoped_refptr<TestFileErrorInjector> injector( injector 1299 content/browser/download/download_browsertest.cc injector->AddError(err); injector 1300 content/browser/download/download_browsertest.cc injector->InjectErrors(); injector 1322 content/browser/download/download_browsertest.cc injector->ClearErrors(); injector 1323 content/browser/download/download_browsertest.cc injector->InjectErrors(); injector 1341 content/browser/download/download_browsertest.cc scoped_refptr<TestFileErrorInjector> injector( injector 1350 content/browser/download/download_browsertest.cc injector->AddError(err); injector 1351 content/browser/download/download_browsertest.cc injector->InjectErrors(); injector 1375 content/browser/download/download_browsertest.cc injector->ClearErrors(); injector 1376 content/browser/download/download_browsertest.cc injector->InjectErrors(); injector 1393 content/browser/download/download_browsertest.cc scoped_refptr<TestFileErrorInjector> injector( injector 1403 content/browser/download/download_browsertest.cc injector->AddError(err); injector 1404 content/browser/download/download_browsertest.cc injector->InjectErrors(); injector 1426 content/browser/download/download_browsertest.cc injector->ClearErrors(); injector 1427 content/browser/download/download_browsertest.cc injector->InjectErrors(); injector 526 remoting/host/input_injector_linux.cc scoped_ptr<InputInjectorLinux> injector( injector 528 remoting/host/input_injector_linux.cc if (!injector->Init()) injector 530 remoting/host/input_injector_linux.cc return injector.PassAs<InputInjector>();