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

Unified Diff: base/trace_event/trace_log.h

Issue 2259493003: [tracing] Add trace events filtering predicate for heap profiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@heap_prof_filter
Patch Set: Primiano's comments. Created 4 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
« no previous file with comments | « base/trace_event/trace_event_unittest.cc ('k') | base/trace_event/trace_log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/trace_log.h
diff --git a/base/trace_event/trace_log.h b/base/trace_event/trace_log.h
index 8cddf272b26926b57fe7db5e963b5cd5db7994ce..540d7d0bd3e0e06aa910b65cb2850ef08143cc62 100644
--- a/base/trace_event/trace_log.h
+++ b/base/trace_event/trace_log.h
@@ -312,8 +312,11 @@ class BASE_EXPORT TraceLog : public MemoryDumpProvider {
// Allows deleting our singleton instance.
static void DeleteForTesting();
- class TraceEventFilter {
+ class BASE_EXPORT TraceEventFilter {
public:
+ static const char* const kEventWhitelistPredicate;
+ static const char* const kHeapProfilerPredicate;
+
TraceEventFilter() {}
virtual ~TraceEventFilter() {}
virtual bool FilterTraceEvent(const TraceEvent& trace_event) const = 0;
« no previous file with comments | « base/trace_event/trace_event_unittest.cc ('k') | base/trace_event/trace_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698