| 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/utility/utility_thread_impl.h" | 5 #include "content/utility/utility_thread_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/memory/scoped_vector.h" | |
| 11 #include "content/child/blink_platform_impl.h" | 10 #include "content/child/blink_platform_impl.h" |
| 12 #include "content/child/child_process.h" | 11 #include "content/child/child_process.h" |
| 13 #include "content/common/child_process_messages.h" | 12 #include "content/common/child_process_messages.h" |
| 14 #include "content/common/utility_messages.h" | 13 #include "content/common/utility_messages.h" |
| 15 #include "content/public/common/content_switches.h" | 14 #include "content/public/common/content_switches.h" |
| 16 #include "content/public/utility/content_utility_client.h" | 15 #include "content/public/utility/content_utility_client.h" |
| 17 #include "content/utility/utility_blink_platform_impl.h" | 16 #include "content/utility/utility_blink_platform_impl.h" |
| 18 #include "content/utility/utility_process_control_impl.h" | 17 #include "content/utility/utility_process_control_impl.h" |
| 19 #include "ipc/ipc_sync_channel.h" | 18 #include "ipc/ipc_sync_channel.h" |
| 20 #include "third_party/WebKit/public/web/WebKit.h" | 19 #include "third_party/WebKit/public/web/WebKit.h" |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 } | 145 } |
| 147 #endif | 146 #endif |
| 148 | 147 |
| 149 void UtilityThreadImpl::BindProcessControlRequest( | 148 void UtilityThreadImpl::BindProcessControlRequest( |
| 150 mojo::InterfaceRequest<ProcessControl> request) { | 149 mojo::InterfaceRequest<ProcessControl> request) { |
| 151 DCHECK(process_control_); | 150 DCHECK(process_control_); |
| 152 process_control_bindings_.AddBinding(process_control_.get(), request.Pass()); | 151 process_control_bindings_.AddBinding(process_control_.get(), request.Pass()); |
| 153 } | 152 } |
| 154 | 153 |
| 155 } // namespace content | 154 } // namespace content |
| OLD | NEW |