Searched defs:DestructionObserver (Results 1 - 2 of 2) sorted by relevance

/external/libchrome/base/message_loop/
H A Dmessage_loop.h137 // A DestructionObserver is notified when the current MessageLoop is being
145 class BASE_EXPORT DestructionObserver { class in class:base::MessageLoop
150 virtual ~DestructionObserver();
153 // Add a DestructionObserver, which will start receiving notifications
155 void AddDestructionObserver(DestructionObserver* destruction_observer);
157 // Remove a DestructionObserver. It is safe to call this method while a
158 // DestructionObserver is receiving a notification callback.
159 void RemoveDestructionObserver(DestructionObserver* destruction_observer);
515 ObserverList<DestructionObserver> destruction_observers_;
H A Dmessage_loop.cc122 MessageLoop::DestructionObserver::~DestructionObserver() {
174 FOR_EACH_OBSERVER(DestructionObserver, destruction_observers_,
258 DestructionObserver* destruction_observer) {
264 DestructionObserver* destruction_observer) {

Completed in 111 milliseconds