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

Unified Diff: base/trace_event/event_name_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/event_name_filter.h
diff --git a/base/trace_event/event_name_filter.h b/base/trace_event/event_name_filter.h
index 19333b3e03338d5d6981e71e0c4c3ce2b9073f26..87402ae716b1446764c68105a91f4dfb5a6df5a3 100644
--- a/base/trace_event/event_name_filter.h
+++ b/base/trace_event/event_name_filter.h
@@ -28,7 +28,8 @@ class BASE_EXPORT EventNameFilter : public TraceEventFilter {
using EventNamesWhitelist = std::unordered_set<std::string>;
static const char kName[];
- EventNameFilter(std::unique_ptr<EventNamesWhitelist>);
+ EventNameFilter(std::unique_ptr<TraceEventFilter::Config>,
+ std::unique_ptr<EventNamesWhitelist>);
ssid 2016/12/12 04:50:18 I don't think this argument is needed anymore. the
Primiano Tucci (use gerrit) 2016/12/12 14:38:55 Nope I don't want for filters to depend on TraceCo
ssid 2016/12/12 21:25:53 Yes it makes that we need a hashtable here for the
~EventNameFilter() override;
// TraceEventFilter implementation.

Powered by Google App Engine
This is Rietveld 408576698