Searched refs:observer_list (Results 1 – 5 of 5) sorted by relevance
69 explicit AddInObserve(ObserverListType* observer_list) in AddInObserve() argument71 observer_list(observer_list), in AddInObserve()78 observer_list->AddObserver(&adder); in Observe()83 ObserverListType* observer_list; member in base::__anonea3212f50111::AddInObserve180 ObserverList<Foo> observer_list; in TEST() local182 Disrupter evil(&observer_list, &c); in TEST()184 observer_list.AddObserver(&a); in TEST()185 observer_list.AddObserver(&b); in TEST()187 EXPECT_TRUE(observer_list.HasObserver(&a)); in TEST()188 EXPECT_FALSE(observer_list.HasObserver(&c)); in TEST()[all …]
236 #define FOR_EACH_OBSERVER(ObserverType, observer_list, func) \ argument238 if ((observer_list).might_have_observers()) { \240 it_inside_observer_macro(&observer_list); \
444 'observer_list.h',
563 "observer_list.h",
586 std::vector<EnabledStateObserver*> observer_list; in SetEnabled() local651 observer_list = enabled_state_observer_list_; in SetEnabled()655 for (size_t i = 0; i < observer_list.size(); ++i) in SetEnabled()656 observer_list[i]->OnTraceLogEnabled(); in SetEnabled()741 std::vector<EnabledStateObserver*> observer_list = in SetDisabledWhileLocked() local750 for (size_t i = 0; i < observer_list.size(); ++i) in SetDisabledWhileLocked()751 observer_list[i]->OnTraceLogDisabled(); in SetDisabledWhileLocked()