Home
last modified time | relevance | path

Searched refs:observer_list (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/
Dobserver_list_unittest.cc69 explicit AddInObserve(ObserverListType* observer_list) in AddInObserve() argument
71 observer_list(observer_list), in AddInObserve()
78 observer_list->AddObserver(&adder); in Observe()
83 ObserverListType* observer_list; member in base::__anonea3212f50111::AddInObserve
180 ObserverList<Foo> observer_list; in TEST() local
182 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 …]
Dobserver_list.h236 #define FOR_EACH_OBSERVER(ObserverType, observer_list, func) \ argument
238 if ((observer_list).might_have_observers()) { \
240 it_inside_observer_macro(&observer_list); \
Dbase.gypi444 'observer_list.h',
DBUILD.gn563 "observer_list.h",
/external/libchrome/base/trace_event/
Dtrace_log.cc586 std::vector<EnabledStateObserver*> observer_list; in SetEnabled() local
651 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() local
750 for (size_t i = 0; i < observer_list.size(); ++i) in SetDisabledWhileLocked()
751 observer_list[i]->OnTraceLogDisabled(); in SetDisabledWhileLocked()