Ozone: Temporarily remove DCHECK in BufferFactory.
[chromium-blink-merge.git] / cc / debug / traced_value.h
blobc5ea30aeddac261c84870913529da689d44bf750
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
3 // found in the LICENSE file.
5 #ifndef CC_DEBUG_TRACED_VALUE_H_
6 #define CC_DEBUG_TRACED_VALUE_H_
8 namespace base {
9 namespace debug {
10 class TracedValue;
14 namespace cc {
16 class TracedValue {
17 public:
18 static void AppendIDRef(const void* id, base::debug::TracedValue* array);
19 static void SetIDRef(const void* id,
20 base::debug::TracedValue* dict,
21 const char* name);
22 static void MakeDictIntoImplicitSnapshot(base::debug::TracedValue* dict,
23 const char* object_name,
24 const void* id);
25 static void MakeDictIntoImplicitSnapshotWithCategory(
26 const char* category,
27 base::debug::TracedValue* dict,
28 const char* object_name,
29 const void* id);
30 static void MakeDictIntoImplicitSnapshotWithCategory(
31 const char* category,
32 base::debug::TracedValue* dict,
33 const char* object_base_type_name,
34 const char* object_name,
35 const void* id);
38 } // namespace cc
40 #endif // CC_DEBUG_TRACED_VALUE_H_