OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "content/shell/renderer/layout_test/blink_test_runner.h" | 5 #include "content/shell/renderer/layout_test/blink_test_runner.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <algorithm> | 9 #include <algorithm> |
8 #include <clocale> | 10 #include <clocale> |
9 #include <cmath> | 11 #include <cmath> |
10 | 12 |
11 #include "base/base64.h" | 13 #include "base/base64.h" |
12 #include "base/command_line.h" | 14 #include "base/command_line.h" |
13 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
14 #include "base/debug/debugger.h" | 16 #include "base/debug/debugger.h" |
15 #include "base/files/file_path.h" | 17 #include "base/files/file_path.h" |
16 #include "base/location.h" | 18 #include "base/location.h" |
| 19 #include "base/macros.h" |
17 #include "base/md5.h" | 20 #include "base/md5.h" |
18 #include "base/memory/scoped_ptr.h" | 21 #include "base/memory/scoped_ptr.h" |
19 #include "base/single_thread_task_runner.h" | 22 #include "base/single_thread_task_runner.h" |
20 #include "base/strings/string_util.h" | 23 #include "base/strings/string_util.h" |
21 #include "base/strings/stringprintf.h" | 24 #include "base/strings/stringprintf.h" |
22 #include "base/strings/sys_string_conversions.h" | 25 #include "base/strings/sys_string_conversions.h" |
23 #include "base/strings/utf_string_conversions.h" | 26 #include "base/strings/utf_string_conversions.h" |
24 #include "base/thread_task_runner_handle.h" | 27 #include "base/thread_task_runner_handle.h" |
25 #include "base/time/time.h" | 28 #include "base/time/time.h" |
| 29 #include "build/build_config.h" |
26 #include "components/plugins/renderer/plugin_placeholder.h" | 30 #include "components/plugins/renderer/plugin_placeholder.h" |
27 #include "components/test_runner/app_banner_client.h" | 31 #include "components/test_runner/app_banner_client.h" |
28 #include "components/test_runner/gamepad_controller.h" | 32 #include "components/test_runner/gamepad_controller.h" |
29 #include "components/test_runner/mock_screen_orientation_client.h" | 33 #include "components/test_runner/mock_screen_orientation_client.h" |
30 #include "components/test_runner/test_interfaces.h" | 34 #include "components/test_runner/test_interfaces.h" |
31 #include "components/test_runner/web_task.h" | 35 #include "components/test_runner/web_task.h" |
32 #include "components/test_runner/web_test_interfaces.h" | 36 #include "components/test_runner/web_test_interfaces.h" |
33 #include "components/test_runner/web_test_proxy.h" | 37 #include "components/test_runner/web_test_proxy.h" |
34 #include "components/test_runner/web_test_runner.h" | 38 #include "components/test_runner/web_test_runner.h" |
35 #include "content/public/common/content_switches.h" | 39 #include "content/public/common/content_switches.h" |
(...skipping 959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
995 get_bluetooth_events_callbacks_.pop_front(); | 999 get_bluetooth_events_callbacks_.pop_front(); |
996 callback.Run(events); | 1000 callback.Run(events); |
997 } | 1001 } |
998 | 1002 |
999 void BlinkTestRunner::ReportLeakDetectionResult( | 1003 void BlinkTestRunner::ReportLeakDetectionResult( |
1000 const LeakDetectionResult& report) { | 1004 const LeakDetectionResult& report) { |
1001 Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report)); | 1005 Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report)); |
1002 } | 1006 } |
1003 | 1007 |
1004 } // namespace content | 1008 } // namespace content |
OLD | NEW |