Home | History | Annotate | Download | only in files

Lines Matching refs:Provider

18 FileTracing::Provider* GetProvider() {
19 AtomicWord provider = base::subtle::Acquire_Load(&g_provider);
20 return reinterpret_cast<FileTracing::Provider*>(provider);
25 FileTracing::Provider* provider = GetProvider();
26 return provider && provider->FileTracingCategoryIsEnabled();
30 void FileTracing::SetProvider(FileTracing::Provider* provider) {
32 reinterpret_cast<AtomicWord>(provider));
36 FileTracing::Provider* provider = GetProvider();
37 if (provider)
38 provider->FileTracingEnable(this);
42 FileTracing::Provider* provider = GetProvider();
43 if (provider)
44 provider->FileTracingDisable(this);
51 FileTracing::Provider* provider = GetProvider();
52 if (provider)
53 provider->FileTracingEventEnd(name_, id_);