Home | History | Annotate | Download | only in net

Lines Matching full:observer

105 void ChromeNetLog::AddObserver(ThreadSafeObserver* observer) {
107 AddObserverWhileLockHeld(observer);
110 void ChromeNetLog::RemoveObserver(ThreadSafeObserver* observer) {
112 DCHECK_EQ(observer->net_log_, this);
113 observer->net_log_ = NULL;
114 observers_.RemoveObserver(observer);
119 ThreadSafeObserver* observer, EntryList* passive_entries) {
121 AddObserverWhileLockHeld(observer);
142 ThreadSafeObserver* observer;
143 while ((observer = it.GetNext()) != NULL) {
144 new_log_level = std::min(new_log_level, observer->log_level());
149 void ChromeNetLog::AddObserverWhileLockHeld(ThreadSafeObserver* observer) {
150 DCHECK(!observer->net_log_);
151 observer->net_log_ = this;
152 observers_.AddObserver(observer);