| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // This header file defines the set of trace_event macros without specifying | 5 // This header file defines the set of trace_event macros without specifying |
| 6 // how the events actually get collected and stored. If you need to expose trace | 6 // how the events actually get collected and stored. If you need to expose trace |
| 7 // events to some other universe, you can copy-and-paste this file as well as | 7 // events to some other universe, you can copy-and-paste this file as well as |
| 8 // trace_event.h, modifying the macros contained there as necessary for the | 8 // trace_event.h, modifying the macros contained there as necessary for the |
| 9 // target platform. The end result is that multiple libraries can funnel events | 9 // target platform. The end result is that multiple libraries can funnel events |
| 10 // through to a shared trace event collector. | 10 // through to a shared trace event collector. |
| (...skipping 1585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1596 const char* category_group_; | 1596 const char* category_group_; |
| 1597 const char* name_; | 1597 const char* name_; |
| 1598 IDType id_; | 1598 IDType id_; |
| 1599 | 1599 |
| 1600 DISALLOW_COPY_AND_ASSIGN(TraceScopedTrackableObject); | 1600 DISALLOW_COPY_AND_ASSIGN(TraceScopedTrackableObject); |
| 1601 }; | 1601 }; |
| 1602 | 1602 |
| 1603 } // namespace trace_event | 1603 } // namespace trace_event |
| 1604 } // namespace base | 1604 } // namespace base |
| 1605 | 1605 |
| 1606 // TODO(ssid): remove these aliases after the tracing clients are moved to the | |
| 1607 // new trace_event namespace. See crbug.com/451032. ETA: March 2015. | |
| 1608 namespace base { | |
| 1609 namespace debug { | |
| 1610 using base::trace_event::TraceScopedTrackableObject; | |
| 1611 } // namespace debug | |
| 1612 } // namespace base | |
| 1613 | |
| 1614 #endif /* BASE_TRACE_EVENT_TRACE_EVENT_H_ */ | 1606 #endif /* BASE_TRACE_EVENT_TRACE_EVENT_H_ */ |
| OLD | NEW |