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

Side by Side Diff: base/trace_event/category_registry.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 unified diff | Download patch
« no previous file with comments | « base/BUILD.gn ('k') | base/trace_event/event_name_filter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | base/trace_event/event_name_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698