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

Unified Diff: base/trace_event/trace_log.h

Issue 1279353002: [ETW Export] Add polling for ETW keyword. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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_log.h
diff --git a/base/trace_event/trace_log.h b/base/trace_event/trace_log.h
index 510113ae11fa6c9887a1ed050b235d2f4091bb31..8d6dec30ca168b1cfc01f21b285e87a666eaf2cf 100644
--- a/base/trace_event/trace_log.h
+++ b/base/trace_event/trace_log.h
@@ -326,6 +326,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(const MemoryDumpArgs& args,
ProcessMemoryDump* pmd) override;

Powered by Google App Engine
This is Rietveld 408576698