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_TRACED_VALUE_H_ | 5 #ifndef CC_DEBUG_TRACED_VALUE_H_ |
6 #define CC_DEBUG_TRACED_VALUE_H_ | 6 #define CC_DEBUG_TRACED_VALUE_H_ |
7 | 7 |
8 namespace base { | 8 namespace base { |
| 9 namespace trace_event { |
| 10 class TracedValue; |
| 11 } |
| 12 |
9 namespace debug { | 13 namespace debug { |
10 class TracedValue; | 14 using ::base::trace_event::TracedValue; |
11 } | 15 } |
12 } | 16 } |
13 | 17 |
14 namespace cc { | 18 namespace cc { |
15 | 19 |
16 class TracedValue { | 20 class TracedValue { |
17 public: | 21 public: |
18 static void AppendIDRef(const void* id, base::debug::TracedValue* array); | 22 static void AppendIDRef(const void* id, base::debug::TracedValue* array); |
19 static void SetIDRef(const void* id, | 23 static void SetIDRef(const void* id, |
20 base::debug::TracedValue* dict, | 24 base::debug::TracedValue* dict, |
(...skipping 10 matching lines...) Expand all Loading... |
31 const char* category, | 35 const char* category, |
32 base::debug::TracedValue* dict, | 36 base::debug::TracedValue* dict, |
33 const char* object_base_type_name, | 37 const char* object_base_type_name, |
34 const char* object_name, | 38 const char* object_name, |
35 const void* id); | 39 const void* id); |
36 }; | 40 }; |
37 | 41 |
38 } // namespace cc | 42 } // namespace cc |
39 | 43 |
40 #endif // CC_DEBUG_TRACED_VALUE_H_ | 44 #endif // CC_DEBUG_TRACED_VALUE_H_ |
OLD | NEW |