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

Unified Diff: base/trace_event/heap_profiler_event_filter.h

Issue 2557743002: tracing: simplify lifetime of TraceEventFilter(s) (Closed)
Patch Set: rebase Created 4 years 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/heap_profiler_event_filter.h
diff --git a/base/trace_event/heap_profiler_event_filter.h b/base/trace_event/heap_profiler_event_filter.h
index 47368a1b0702da38c03a871017bf818b6c1bf93f..09283d9d573df386b4922a5f816349e2da7c4b82 100644
--- a/base/trace_event/heap_profiler_event_filter.h
+++ b/base/trace_event/heap_profiler_event_filter.h
@@ -22,7 +22,7 @@ class BASE_EXPORT HeapProfilerEventFilter : public TraceEventFilter {
public:
static const char kName[];
- HeapProfilerEventFilter();
+ explicit HeapProfilerEventFilter(std::unique_ptr<TraceEventFilter::Config>);
~HeapProfilerEventFilter() override;
// TraceEventFilter implementation.

Powered by Google App Engine
This is Rietveld 408576698