forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtraced_value.h
41 lines (35 loc) · 1.24 KB
/
traced_value.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CC_DEBUG_TRACED_VALUE_H_
#define CC_DEBUG_TRACED_VALUE_H_
namespace base {
namespace trace_event {
class TracedValue;
}
}
namespace cc {
class TracedValue {
public:
static void AppendIDRef(const void* id,
base::trace_event::TracedValue* array);
static void SetIDRef(const void* id,
base::trace_event::TracedValue* dict,
const char* name);
static void MakeDictIntoImplicitSnapshot(base::trace_event::TracedValue* dict,
const char* object_name,
const void* id);
static void MakeDictIntoImplicitSnapshotWithCategory(
const char* category,
base::trace_event::TracedValue* dict,
const char* object_name,
const void* id);
static void MakeDictIntoImplicitSnapshotWithCategory(
const char* category,
base::trace_event::TracedValue* dict,
const char* object_base_type_name,
const char* object_name,
const void* id);
};
} // namespace cc
#endif // CC_DEBUG_TRACED_VALUE_H_