OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_SHELL_COMMON_LEAK_DETECTION_RESULT_H_ | 5 #ifndef CONTENT_SHELL_COMMON_LEAK_DETECTION_RESULT_H_ |
6 #define CONTENT_SHELL_COMMON_LEAK_DETECTION_RESULT_H_ | 6 #define CONTENT_SHELL_COMMON_LEAK_DETECTION_RESULT_H_ |
7 | 7 |
| 8 #include <string> |
| 9 |
8 namespace content { | 10 namespace content { |
9 | 11 |
10 struct LeakDetectionResult { | 12 struct LeakDetectionResult { |
11 bool leaked; | 13 bool leaked; |
12 unsigned number_of_live_documents; | 14 std::string detail; |
13 unsigned number_of_live_nodes; | |
14 }; | 15 }; |
15 | 16 |
16 } // namespace content | 17 } // namespace content |
17 | 18 |
18 #endif // CONTENT_SHELL_COMMON_LEAK_DETECTION_RESULT_H_ | 19 #endif // CONTENT_SHELL_COMMON_LEAK_DETECTION_RESULT_H_ |
OLD | NEW |