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/renderer/render_thread_impl.h" | 5 #include "content/renderer/render_thread_impl.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/location.h" | 13 #include "base/location.h" |
14 #include "base/memory/discardable_memory.h" | 14 #include "base/memory/discardable_memory.h" |
15 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
16 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
17 #include "base/strings/string_number_conversions.h" | 17 #include "base/strings/string_number_conversions.h" |
18 #include "base/threading/thread_task_runner_handle.h" | 18 #include "base/threading/thread_task_runner_handle.h" |
19 #include "cc/output/buffer_to_texture_target_map.h" | 19 #include "cc/output/buffer_to_texture_target_map.h" |
20 #include "content/app/mojo/mojo_init.h" | 20 #include "content/app/mojo/mojo_init.h" |
21 #include "content/common/in_process_child_thread_params.h" | 21 #include "content/common/in_process_child_thread_params.h" |
| 22 #include "content/common/mojo/constants.h" |
22 #include "content/common/mojo/mojo_child_connection.h" | 23 #include "content/common/mojo/mojo_child_connection.h" |
23 #include "content/common/resource_messages.h" | 24 #include "content/common/resource_messages.h" |
24 #include "content/public/browser/browser_thread.h" | 25 #include "content/public/browser/browser_thread.h" |
25 #include "content/public/browser/content_browser_client.h" | 26 #include "content/public/browser/content_browser_client.h" |
26 #include "content/public/common/content_client.h" | 27 #include "content/public/common/content_client.h" |
27 #include "content/public/common/content_switches.h" | 28 #include "content/public/common/content_switches.h" |
28 #include "content/public/common/mojo_shell_connection.h" | 29 #include "content/public/common/mojo_shell_connection.h" |
29 #include "content/public/common/service_names.h" | |
30 #include "content/public/renderer/content_renderer_client.h" | 30 #include "content/public/renderer/content_renderer_client.h" |
31 #include "content/public/test/test_browser_thread_bundle.h" | 31 #include "content/public/test/test_browser_thread_bundle.h" |
32 #include "content/public/test/test_content_client_initializer.h" | 32 #include "content/public/test/test_content_client_initializer.h" |
33 #include "content/public/test/test_mojo_shell_context.h" | 33 #include "content/public/test/test_mojo_shell_context.h" |
34 #include "content/renderer/render_process_impl.h" | 34 #include "content/renderer/render_process_impl.h" |
35 #include "content/test/mock_render_process.h" | 35 #include "content/test/mock_render_process.h" |
36 #include "gpu/GLES2/gl2extchromium.h" | 36 #include "gpu/GLES2/gl2extchromium.h" |
37 #include "ipc/ipc.mojom.h" | 37 #include "ipc/ipc.mojom.h" |
38 #include "ipc/ipc_channel_mojo.h" | 38 #include "ipc/ipc_channel_mojo.h" |
39 #include "mojo/edk/embedder/embedder.h" | 39 #include "mojo/edk/embedder/embedder.h" |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 | 267 |
268 sender()->Send(new TestMsg_QuitRunLoop()); | 268 sender()->Send(new TestMsg_QuitRunLoop()); |
269 | 269 |
270 base::RunLoop().Run(); | 270 base::RunLoop().Run(); |
271 | 271 |
272 EXPECT_EQ(0, test_task_counter_->NumTasksPosted()); | 272 EXPECT_EQ(0, test_task_counter_->NumTasksPosted()); |
273 } | 273 } |
274 | 274 |
275 } // namespace | 275 } // namespace |
276 } // namespace content | 276 } // namespace content |
OLD | NEW |