| 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 // Represents the browser side of the browser <--> renderer communication | 5 // Represents the browser side of the browser <--> renderer communication |
| 6 // channel. There will be one RenderProcessHost per renderer process. | 6 // channel. There will be one RenderProcessHost per renderer process. |
| 7 | 7 |
| 8 #include "content/browser/renderer_host/render_process_host_impl.h" | 8 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 #if defined(ENABLE_WEBRTC) | 155 #if defined(ENABLE_WEBRTC) |
| 156 #include "content/browser/media/webrtc_internals.h" | 156 #include "content/browser/media/webrtc_internals.h" |
| 157 #include "content/browser/renderer_host/media/media_stream_track_metrics_host.h" | 157 #include "content/browser/renderer_host/media/media_stream_track_metrics_host.h" |
| 158 #include "content/browser/renderer_host/media/webrtc_identity_service_host.h" | 158 #include "content/browser/renderer_host/media/webrtc_identity_service_host.h" |
| 159 #include "content/common/media/media_stream_messages.h" | 159 #include "content/common/media/media_stream_messages.h" |
| 160 #endif | 160 #endif |
| 161 | 161 |
| 162 #if defined(USE_MOJO) | 162 #if defined(USE_MOJO) |
| 163 #include "content/common/mojo/mojo_channel_init.h" | 163 #include "content/common/mojo/mojo_channel_init.h" |
| 164 #include "content/common/mojo/mojo_messages.h" | 164 #include "content/common/mojo/mojo_messages.h" |
| 165 #include "mojo/system/embedder/platform_channel_pair.h" | 165 #include "mojo/embedder/platform_channel_pair.h" |
| 166 #endif | 166 #endif |
| 167 | 167 |
| 168 extern bool g_exited_main_message_loop; | 168 extern bool g_exited_main_message_loop; |
| 169 | 169 |
| 170 static const char* kSiteProcessMapKeyName = "content_site_process_map"; | 170 static const char* kSiteProcessMapKeyName = "content_site_process_map"; |
| 171 | 171 |
| 172 namespace content { | 172 namespace content { |
| 173 namespace { | 173 namespace { |
| 174 | 174 |
| 175 void CacheShaderInfo(int32 id, base::FilePath path) { | 175 void CacheShaderInfo(int32 id, base::FilePath path) { |
| (...skipping 1994 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2170 child_process_launcher_->GetHandle(); | 2170 child_process_launcher_->GetHandle(); |
| 2171 base::PlatformFile client_file = | 2171 base::PlatformFile client_file = |
| 2172 PlatformFileFromScopedPlatformHandle(channel_pair.PassClientHandle()); | 2172 PlatformFileFromScopedPlatformHandle(channel_pair.PassClientHandle()); |
| 2173 Send(new MojoMsg_ChannelCreated( | 2173 Send(new MojoMsg_ChannelCreated( |
| 2174 IPC::GetFileHandleForProcess(client_file, process_handle, true))); | 2174 IPC::GetFileHandleForProcess(client_file, process_handle, true))); |
| 2175 } | 2175 } |
| 2176 } | 2176 } |
| 2177 #endif | 2177 #endif |
| 2178 | 2178 |
| 2179 } // namespace content | 2179 } // namespace content |
| OLD | NEW |