| 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 "webkit/glue/webkitplatformsupport_impl.h" | 5 #include "webkit/glue/webkitplatformsupport_impl.h" |
| 6 | 6 |
| 7 #include <math.h> | 7 #include <math.h> |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 | 119 |
| 120 // The last time the cached value was updated. | 120 // The last time the cached value was updated. |
| 121 base::Time last_updated_time_; | 121 base::Time last_updated_time_; |
| 122 | 122 |
| 123 base::Lock lock_; | 123 base::Lock lock_; |
| 124 }; | 124 }; |
| 125 | 125 |
| 126 #if defined(OS_ANDROID) | 126 #if defined(OS_ANDROID) |
| 127 void NullRunWebAudioMediaCodec( | 127 void NullRunWebAudioMediaCodec( |
| 128 base::SharedMemoryHandle encoded_data_handle, | 128 base::SharedMemoryHandle encoded_data_handle, |
| 129 base::FileDescriptor pcm_output) { | 129 base::FileDescriptor pcm_output, |
| 130 size_t data_size) { |
| 130 } | 131 } |
| 131 #endif | 132 #endif |
| 132 | 133 |
| 133 } // anonymous namespace | 134 } // anonymous namespace |
| 134 | 135 |
| 135 namespace webkit_glue { | 136 namespace webkit_glue { |
| 136 | 137 |
| 137 static int ToMessageID(WebLocalizedString::Name name) { | 138 static int ToMessageID(WebLocalizedString::Name name) { |
| 138 switch (name) { | 139 switch (name) { |
| 139 case WebLocalizedString::AXAMPMFieldText: | 140 case WebLocalizedString::AXAMPMFieldText: |
| (...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 998 } | 999 } |
| 999 | 1000 |
| 1000 #if defined(OS_ANDROID) | 1001 #if defined(OS_ANDROID) |
| 1001 webkit_media::WebAudioMediaCodecRunner | 1002 webkit_media::WebAudioMediaCodecRunner |
| 1002 WebKitPlatformSupportImpl::GetWebAudioMediaCodecRunner() { | 1003 WebKitPlatformSupportImpl::GetWebAudioMediaCodecRunner() { |
| 1003 return base::Bind(&NullRunWebAudioMediaCodec); | 1004 return base::Bind(&NullRunWebAudioMediaCodec); |
| 1004 } | 1005 } |
| 1005 #endif | 1006 #endif |
| 1006 | 1007 |
| 1007 } // namespace webkit_glue | 1008 } // namespace webkit_glue |
| OLD | NEW |