| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CC_DEBUG_DEVTOOLS_INSTRUMENTATION_H_ | 5 #ifndef CC_DEBUG_DEVTOOLS_INSTRUMENTATION_H_ |
| 6 #define CC_DEBUG_DEVTOOLS_INSTRUMENTATION_H_ | 6 #define CC_DEBUG_DEVTOOLS_INSTRUMENTATION_H_ |
| 7 | 7 |
| 8 #include "base/debug/trace_event.h" | 8 #include "base/trace_event/trace_event.h" |
| 9 | 9 |
| 10 namespace cc { | 10 namespace cc { |
| 11 namespace devtools_instrumentation { | 11 namespace devtools_instrumentation { |
| 12 | 12 |
| 13 namespace internal { | 13 namespace internal { |
| 14 const char kCategory[] = TRACE_DISABLED_BY_DEFAULT("devtools.timeline"); | 14 const char kCategory[] = TRACE_DISABLED_BY_DEFAULT("devtools.timeline"); |
| 15 const char kCategoryFrame[] = | 15 const char kCategoryFrame[] = |
| 16 TRACE_DISABLED_BY_DEFAULT("devtools.timeline.frame"); | 16 TRACE_DISABLED_BY_DEFAULT("devtools.timeline.frame"); |
| 17 const char kFrameId[] = "frameId"; | 17 const char kFrameId[] = "frameId"; |
| 18 const char kLayerId[] = "layerId"; | 18 const char kLayerId[] = "layerId"; |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 internal::kRequestMainThreadFrame, | 121 internal::kRequestMainThreadFrame, |
| 122 TRACE_EVENT_SCOPE_THREAD, | 122 TRACE_EVENT_SCOPE_THREAD, |
| 123 internal::kLayerTreeId, | 123 internal::kLayerTreeId, |
| 124 layer_tree_host_id); | 124 layer_tree_host_id); |
| 125 } | 125 } |
| 126 | 126 |
| 127 } // namespace devtools_instrumentation | 127 } // namespace devtools_instrumentation |
| 128 } // namespace cc | 128 } // namespace cc |
| 129 | 129 |
| 130 #endif // CC_DEBUG_DEVTOOLS_INSTRUMENTATION_H_ | 130 #endif // CC_DEBUG_DEVTOOLS_INSTRUMENTATION_H_ |
| OLD | NEW |