| 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 "base/command_line.h" | 5 #include "base/command_line.h" |
| 6 #include "content/child/child_thread.h" | 6 #include "content/child/child_thread.h" |
| 7 #include "content/child/socket_stream_dispatcher.h" | 7 #include "content/child/socket_stream_dispatcher.h" |
| 8 #include "content/child/webkitplatformsupport_impl.h" | 8 #include "content/child/webkitplatformsupport_impl.h" |
| 9 #include "content/public/common/content_client.h" | 9 #include "content/public/common/content_client.h" |
| 10 #include "googleurl/src/gurl.h" | |
| 11 | 10 |
| 12 #if defined(OS_ANDROID) | 11 #if defined(OS_ANDROID) |
| 13 #include "base/file_descriptor_posix.h" | 12 #include "base/file_descriptor_posix.h" |
| 14 #include "base/shared_memory.h" | 13 #include "base/shared_memory.h" |
| 15 #include "content/common/view_messages.h" | 14 #include "content/common/view_messages.h" |
| 16 | 15 |
| 17 namespace { | 16 namespace { |
| 18 void RunWebAudioMediaCodec( | 17 void RunWebAudioMediaCodec( |
| 19 base::SharedMemoryHandle encoded_data_handle, | 18 base::SharedMemoryHandle encoded_data_handle, |
| 20 base::FileDescriptor pcm_output, | 19 base::FileDescriptor pcm_output, |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 } | 68 } |
| 70 | 69 |
| 71 #if defined(OS_ANDROID) | 70 #if defined(OS_ANDROID) |
| 72 webkit_media::WebAudioMediaCodecRunner | 71 webkit_media::WebAudioMediaCodecRunner |
| 73 WebKitPlatformSupportImpl::GetWebAudioMediaCodecRunner() { | 72 WebKitPlatformSupportImpl::GetWebAudioMediaCodecRunner() { |
| 74 return base::Bind(&RunWebAudioMediaCodec); | 73 return base::Bind(&RunWebAudioMediaCodec); |
| 75 } | 74 } |
| 76 #endif | 75 #endif |
| 77 | 76 |
| 78 } // namespace content | 77 } // namespace content |
| OLD | NEW |