OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // A tree of name value pairs that report contain DirectX diagnostic | 5 // A tree of name value pairs that report contain DirectX diagnostic |
6 // information. | 6 // information. |
7 | 7 |
8 #ifndef GPU_CONFIG_DX_DIAG_NODE_H_ | 8 #ifndef GPU_CONFIG_DX_DIAG_NODE_H_ |
9 #define GPU_CONFIG_DX_DIAG_NODE_H_ | 9 #define GPU_CONFIG_DX_DIAG_NODE_H_ |
10 | 10 |
11 #include <map> | 11 #include <map> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "gpu/gpu_export.h" | 14 #include "gpu/gpu_export.h" |
15 | 15 |
16 namespace gpu { | 16 namespace gpu { |
17 | 17 |
18 struct GPU_EXPORT DxDiagNode { | 18 struct GPU_EXPORT DxDiagNode { |
19 DxDiagNode(); | 19 DxDiagNode(); |
| 20 DxDiagNode(const DxDiagNode& other); |
20 ~DxDiagNode(); | 21 ~DxDiagNode(); |
21 std::map<std::string, std::string> values; | 22 std::map<std::string, std::string> values; |
22 std::map<std::string, DxDiagNode> children; | 23 std::map<std::string, DxDiagNode> children; |
23 }; | 24 }; |
24 | 25 |
25 } // namespace gpu | 26 } // namespace gpu |
26 | 27 |
27 #endif // GPU_CONFIG_DX_DIAG_NODE_H_ | 28 #endif // GPU_CONFIG_DX_DIAG_NODE_H_ |
OLD | NEW |