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

Unified Diff: base/trace_event/trace_config.h

Issue 2549103003: tracing: split trace event filter classes out of TraceLog (Closed)
Patch Set: Add BASE_EXPORT 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
« no previous file with comments | « base/trace_event/memory_dump_manager.cc ('k') | base/trace_event/trace_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/trace_config.h
diff --git a/base/trace_event/trace_config.h b/base/trace_event/trace_config.h
index c10ed47f5be0fc6389921b6bab35e4349dd2e6ec..214d0781a94b23f483a05d3e1b654fa419dea7e9 100644
--- a/base/trace_event/trace_config.h
+++ b/base/trace_event/trace_config.h
@@ -7,8 +7,10 @@
#include <stdint.h>
+#include <memory>
#include <set>
#include <string>
+#include <unordered_set>
#include <vector>
#include "base/base_export.h"
@@ -82,7 +84,7 @@ class BASE_EXPORT TraceConfig {
HeapProfiler heap_profiler_options;
};
- class EventFilterConfig {
+ class BASE_EXPORT EventFilterConfig {
public:
EventFilterConfig(const std::string& predicate_name);
EventFilterConfig(const EventFilterConfig& tc);
@@ -94,6 +96,7 @@ class BASE_EXPORT TraceConfig {
void AddIncludedCategory(const std::string& category);
void AddExcludedCategory(const std::string& category);
void SetArgs(std::unique_ptr<base::DictionaryValue> args);
+ bool GetArgAsSet(const char* key, std::unordered_set<std::string>*) const;
bool IsCategoryGroupEnabled(const char* category_group_name) const;
« no previous file with comments | « base/trace_event/memory_dump_manager.cc ('k') | base/trace_event/trace_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698