Searched refs:nesting_observer (Results 1 – 3 of 3) sorted by relevance
101 DCHECK(!main_thread_only().nesting_observer); in AddNestingObserver()103 main_thread_only().nesting_observer = observer; in AddNestingObserver()108 DCHECK_EQ(main_thread_only().nesting_observer, observer); in RemoveNestingObserver()109 main_thread_only().nesting_observer = nullptr; in RemoveNestingObserver()175 if (main_thread_only().run_depth > 0 && main_thread_only().nesting_observer) in Run()176 main_thread_only().nesting_observer->OnBeginNestedRunLoop(); in Run()187 if (main_thread_only().run_depth > 0 && main_thread_only().nesting_observer) in Run()188 main_thread_only().nesting_observer->OnExitNestedRunLoop(); in Run()
63 RunLoop::NestingObserver* nesting_observer = nullptr; // Not owned. member
510 testing::StrictMock<MockNestingObserver> nesting_observer; in TEST_P() local514 RunLoop::AddNestingObserverOnCurrentThread(&nesting_observer); in TEST_P()539 EXPECT_CALL(nesting_observer, OnBeginNestedRunLoop()); in TEST_P()541 EXPECT_CALL(nesting_observer, OnBeginNestedRunLoop()); in TEST_P()543 EXPECT_CALL(nesting_observer, OnExitNestedRunLoop()).Times(2); in TEST_P()547 RunLoop::RemoveNestingObserverOnCurrentThread(&nesting_observer); in TEST_P()