Index: base/debug/trace_event.h |
diff --git a/base/debug/trace_event.h b/base/debug/trace_event.h |
index e6515472d43019b0b635149764f5895bc4643620..5e35bd9a759427ebfd3f2e9a826ad2aedaad1365 100644 |
--- a/base/debug/trace_event.h |
+++ b/base/debug/trace_event.h |
@@ -18,22 +18,22 @@ |
// Implementation specific tracing API definitions. |
// Get a pointer to the enabled state of the given trace category. Only |
-// long-lived literal strings should be given as the category name. The returned |
-// pointer can be held permanently in a local static for example. If the |
-// unsigned char is non-zero, tracing is enabled. If tracing is enabled, |
+// long-lived literal strings should be given as the category group. The |
+// returned pointer can be held permanently in a local static for example. If |
+// the unsigned char is non-zero, tracing is enabled. If tracing is enabled, |
// TRACE_EVENT_API_ADD_TRACE_EVENT can be called. It's OK if tracing is disabled |
// between the load of the tracing state and the call to |
// TRACE_EVENT_API_ADD_TRACE_EVENT, because this flag only provides an early out |
// for best performance when tracing is disabled. |
// const unsigned char* |
-// TRACE_EVENT_API_GET_CATEGORY_ENABLED(const char* category_name) |
-#define TRACE_EVENT_API_GET_CATEGORY_ENABLED \ |
- base::debug::TraceLog::GetCategoryEnabled |
+// TRACE_EVENT_API_GET_CATEGORY_GROUP_ENABLED(const char* category_group) |
+#define TRACE_EVENT_API_GET_CATEGORY_GROUP_ENABLED \ |
+ base::debug::TraceLog::GetCategoryGroupEnabled |
// Add a trace event to the platform tracing system. |
// void TRACE_EVENT_API_ADD_TRACE_EVENT( |
// char phase, |
-// const unsigned char* category_enabled, |
+// const unsigned char* category_group_enabled, |
// const char* name, |
// unsigned long long id, |
// int num_args, |