OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef BASE_TRACE_EVENT_CATEGORY_H_ | 5 #ifndef BASE_TRACE_EVENT_CATEGORY_REGISTRY_H_ |
6 #define BASE_TRACE_EVENT_CATEGORY_H_ | 6 #define BASE_TRACE_EVENT_CATEGORY_REGISTRY_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include "base/base_export.h" | 11 #include "base/base_export.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 | 13 |
14 namespace base { | 14 namespace base { |
15 namespace trace_event { | 15 namespace trace_event { |
16 | 16 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 TraceCategory**); | 83 TraceCategory**); |
84 | 84 |
85 // Allows to iterate over the valid categories in a for-each loop. | 85 // Allows to iterate over the valid categories in a for-each loop. |
86 // This includes builtin categories such as __metadata. | 86 // This includes builtin categories such as __metadata. |
87 static Range GetAllCategories(); | 87 static Range GetAllCategories(); |
88 }; | 88 }; |
89 | 89 |
90 } // namespace trace_event | 90 } // namespace trace_event |
91 } // namespace base | 91 } // namespace base |
92 | 92 |
93 #endif // BASE_TRACE_EVENT_CATEGORY_H_ | 93 #endif // BASE_TRACE_EVENT_CATEGORY_REGISTRY_H_ |
OLD | NEW |