| 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/renderer/media/renderer_webaudiodevice_impl.h" | 5 #include "content/renderer/media/renderer_webaudiodevice_impl.h" | 
| 6 | 6 | 
| 7 #include <stddef.h> | 7 #include <stddef.h> | 
| 8 | 8 | 
| 9 #include <string> | 9 #include <string> | 
| 10 | 10 | 
| 11 #include "base/command_line.h" | 11 #include "base/command_line.h" | 
| 12 #include "base/logging.h" | 12 #include "base/logging.h" | 
| 13 #include "base/single_thread_task_runner.h" | 13 #include "base/single_thread_task_runner.h" | 
| 14 #include "base/thread_task_runner_handle.h" | 14 #include "base/threading/thread_task_runner_handle.h" | 
| 15 #include "base/time/time.h" | 15 #include "base/time/time.h" | 
| 16 #include "build/build_config.h" | 16 #include "build/build_config.h" | 
| 17 #include "content/renderer/media/audio_device_factory.h" | 17 #include "content/renderer/media/audio_device_factory.h" | 
| 18 #include "content/renderer/render_frame_impl.h" | 18 #include "content/renderer/render_frame_impl.h" | 
| 19 #include "media/audio/null_audio_sink.h" | 19 #include "media/audio/null_audio_sink.h" | 
| 20 #include "media/base/media_switches.h" | 20 #include "media/base/media_switches.h" | 
| 21 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 21 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 
| 22 #include "third_party/WebKit/public/web/WebView.h" | 22 #include "third_party/WebKit/public/web/WebView.h" | 
| 23 | 23 | 
| 24 using blink::WebAudioDevice; | 24 using blink::WebAudioDevice; | 
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 161   } | 161   } | 
| 162 #endif | 162 #endif | 
| 163   return dest->frames(); | 163   return dest->frames(); | 
| 164 } | 164 } | 
| 165 | 165 | 
| 166 void RendererWebAudioDeviceImpl::OnRenderError() { | 166 void RendererWebAudioDeviceImpl::OnRenderError() { | 
| 167   // TODO(crogers): implement error handling. | 167   // TODO(crogers): implement error handling. | 
| 168 } | 168 } | 
| 169 | 169 | 
| 170 }  // namespace content | 170 }  // namespace content | 
| OLD | NEW | 
|---|