Index: base/trace_event/trace_event_etw_export_win.h |
diff --git a/base/trace_event/trace_event_etw_export_win.h b/base/trace_event/trace_event_etw_export_win.h |
index 8ee2d63416949e5b24640c7a18db0644781ace99..3a6b6612ca34972cc71c2f9086e873dddbcbe21c 100644 |
--- a/base/trace_event/trace_event_etw_export_win.h |
+++ b/base/trace_event/trace_event_etw_export_win.h |
@@ -56,7 +56,7 @@ class BASE_EXPORT TraceEventETWExport { |
static void AddCompleteEndEvent(const char* name); |
// Returns true if any category in the group is enabled. |
- static bool IsCategoryGroupEnabled(const char* category_group_name); |
+ static bool IsCategoryGroupEnabled(StringPiece category_group_name); |
private: |
// Ensure only the provider can construct us. |
@@ -70,7 +70,7 @@ class BASE_EXPORT TraceEventETWExport { |
bool UpdateEnabledCategories(); |
// Returns true if the category is enabled. |
- bool IsCategoryEnabled(const char* category_name) const; |
+ bool IsCategoryEnabled(StringPiece category_name) const; |
// Called back by the update thread to check for potential changes to the |
// keyword. |