Home
last modified time | relevance | path

Searched refs:global_ (Results 1 – 6 of 6) sorted by relevance

/external/chromium/base/metrics/
Dfield_trial.cc134 FieldTrialList* FieldTrialList::global_ = NULL; member in base::FieldTrialList
140 DCHECK(!global_); in FieldTrialList()
142 global_ = this; in FieldTrialList()
152 DCHECK(this == global_); in ~FieldTrialList()
153 global_ = NULL; in ~FieldTrialList()
158 if (!global_) { in Register()
162 AutoLock auto_lock(global_->lock_); in Register()
163 DCHECK(!global_->PreLockedFind(trial->name())); in Register()
165 global_->registered_[trial->name()] = trial; in Register()
170 if (!global_) in Find()
[all …]
Dfield_trial.h259 if (global_) in application_start_time()
260 return global_->application_start_time_; in application_start_time()
275 static FieldTrialList* global_; // The singleton of this class. variable
/external/chromium/chrome/browser/metrics/
Dthread_watcher.cc191 ThreadWatcherList* ThreadWatcherList::global_ = NULL; member in ThreadWatcherList
198 CHECK(!global_); in ThreadWatcherList()
199 global_ = this; in ThreadWatcherList()
206 DCHECK(this == global_); in ~ThreadWatcherList()
207 global_ = NULL; in ~ThreadWatcherList()
212 if (!global_) in Register()
214 base::AutoLock auto_lock(global_->lock_); in Register()
215 DCHECK(!global_->PreLockedFind(watcher->thread_id())); in Register()
216 global_->registered_[watcher->thread_id()] = watcher; in Register()
263 if (!global_) in StopWatchingAll()
[all …]
Dthread_watcher.h263 static ThreadWatcherList* global_; // The singleton of this class. variable
/external/chromium/net/base/
Dsdch_manager.cc26 SdchManager* SdchManager::global_; member in net::SdchManager
206 DCHECK(!global_); in SdchManager()
207 global_ = this; in SdchManager()
211 DCHECK(global_ == this); in ~SdchManager()
217 global_ = NULL; in ~SdchManager()
222 if (!global_ ) in Shutdown()
224 global_->fetcher_.reset(NULL); in Shutdown()
229 return global_; in Global()
239 global_->supported_domain_ = domain; in EnableSdchSupport()
240 global_->sdch_enabled_ = true; in EnableSdchSupport()
[all …]
Dsdch_manager.h253 static bool sdch_enabled() { return global_ && global_->sdch_enabled_; } in sdch_enabled()
343 static SdchManager* global_; variable