OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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/browser/layout_test/blink_test_controller.h" | 5 #include "content/shell/browser/layout_test/blink_test_controller.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <iostream> | 9 #include <iostream> |
10 #include <set> | 10 #include <set> |
11 #include <utility> | 11 #include <utility> |
12 | 12 |
13 #include "base/base64.h" | 13 #include "base/base64.h" |
14 #include "base/callback.h" | 14 #include "base/callback.h" |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/location.h" | 16 #include "base/location.h" |
17 #include "base/logging.h" | 17 #include "base/logging.h" |
18 #include "base/memory/ptr_util.h" | 18 #include "base/memory/ptr_util.h" |
| 19 #include "base/message_loop/message_loop.h" |
19 #include "base/path_service.h" | 20 #include "base/path_service.h" |
20 #include "base/run_loop.h" | 21 #include "base/run_loop.h" |
21 #include "base/single_thread_task_runner.h" | 22 #include "base/single_thread_task_runner.h" |
22 #include "base/stl_util.h" | 23 #include "base/stl_util.h" |
23 #include "base/strings/string_number_conversions.h" | 24 #include "base/strings/string_number_conversions.h" |
24 #include "base/strings/stringprintf.h" | 25 #include "base/strings/stringprintf.h" |
25 #include "base/threading/thread_task_runner_handle.h" | 26 #include "base/threading/thread_task_runner_handle.h" |
26 #include "build/build_config.h" | 27 #include "build/build_config.h" |
27 #include "content/public/browser/devtools_agent_host.h" | 28 #include "content/public/browser/devtools_agent_host.h" |
28 #include "content/public/browser/dom_storage_context.h" | 29 #include "content/public/browser/dom_storage_context.h" |
(...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1007 } | 1008 } |
1008 DCHECK(layout_test_control_map_[frame].get()); | 1009 DCHECK(layout_test_control_map_[frame].get()); |
1009 return layout_test_control_map_[frame].get(); | 1010 return layout_test_control_map_[frame].get(); |
1010 } | 1011 } |
1011 | 1012 |
1012 void BlinkTestController::HandleLayoutTestControlError(RenderFrameHost* frame) { | 1013 void BlinkTestController::HandleLayoutTestControlError(RenderFrameHost* frame) { |
1013 layout_test_control_map_.erase(frame); | 1014 layout_test_control_map_.erase(frame); |
1014 } | 1015 } |
1015 | 1016 |
1016 } // namespace content | 1017 } // namespace content |
OLD | NEW |