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_RENDERER_LAYOUT_TEST_LEAK_DETECTOR_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_LEAK_DETECTOR_H_ |
6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_LEAK_DETECTOR_H_ | 6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_LEAK_DETECTOR_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "content/shell/common/leak_detection_result.h" | 9 #include "content/shell/common/leak_detection_result.h" |
10 #include "third_party/WebKit/public/web/WebLeakDetector.h" | 10 #include "third_party/WebKit/public/web/WebLeakDetector.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 class WebLocalFrame; | 13 class WebLocalFrame; |
14 } // namespace blink | 14 } // namespace blink |
15 | 15 |
16 namespace content { | 16 namespace content { |
17 | 17 |
18 class BlinkTestRunner; | 18 class BlinkTestRunner; |
(...skipping 18 matching lines...) Expand all Loading... |
37 BlinkTestRunner* test_runner_; | 37 BlinkTestRunner* test_runner_; |
38 scoped_ptr<blink::WebLeakDetector> web_leak_detector_; | 38 scoped_ptr<blink::WebLeakDetector> web_leak_detector_; |
39 blink::WebLeakDetectorClient::Result previous_result_; | 39 blink::WebLeakDetectorClient::Result previous_result_; |
40 | 40 |
41 DISALLOW_COPY_AND_ASSIGN(LeakDetector); | 41 DISALLOW_COPY_AND_ASSIGN(LeakDetector); |
42 }; | 42 }; |
43 | 43 |
44 } // namespace content | 44 } // namespace content |
45 | 45 |
46 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_LEAK_DETECTOR_H_ | 46 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_LEAK_DETECTOR_H_ |
OLD | NEW |