Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3863)

Unified Diff: base/trace_event/trace_event_impl.h

Issue 1213523003: [ETW Export] Add polling for ETW keyword. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/trace_event/trace_event_impl.h
diff --git a/base/trace_event/trace_event_impl.h b/base/trace_event/trace_event_impl.h
index ccb850033e1926d59ff4396b8a9bb36acf61a109..09c30c5b47d2694d91c7ef6a2e77c0194675e9dc 100644
--- a/base/trace_event/trace_event_impl.h
+++ b/base/trace_event/trace_event_impl.h
@@ -552,6 +552,10 @@ class BASE_EXPORT TraceLog : public MemoryDumpProvider {
// by the Singleton class.
friend struct DefaultSingletonTraits<TraceLog>;
+ // This allows TraceEventETWExport to call UpdateCategoryGroupEnabledFlags
+ // whenever required (ie. when ETW keyword changes).
+ friend class TraceEventETWExport;
+
// MemoryDumpProvider implementation.
bool OnMemoryDump(ProcessMemoryDump* pmd) override;

Powered by Google App Engine
This is Rietveld 408576698