Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Side by Side Diff: content/renderer/pepper/pepper_platform_audio_input_impl.cc

Issue 18868005: content: Migrate from googleurl/ includes to url/ ones. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/pepper/pepper_platform_audio_input_impl.h" 5 #include "content/renderer/pepper/pepper_platform_audio_input_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop/message_loop_proxy.h" 9 #include "base/message_loop/message_loop_proxy.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "content/child/child_process.h" 11 #include "content/child/child_process.h"
12 #include "content/renderer/media/audio_input_message_filter.h" 12 #include "content/renderer/media/audio_input_message_filter.h"
13 #include "content/renderer/pepper/pepper_plugin_delegate_impl.h" 13 #include "content/renderer/pepper/pepper_plugin_delegate_impl.h"
14 #include "content/renderer/render_thread_impl.h" 14 #include "content/renderer/render_thread_impl.h"
15 #include "googleurl/src/gurl.h"
16 #include "media/audio/audio_manager_base.h" 15 #include "media/audio/audio_manager_base.h"
17 #include "ppapi/shared_impl/ppb_audio_config_shared.h" 16 #include "ppapi/shared_impl/ppb_audio_config_shared.h"
17 #include "url/gurl.h"
18 18
19 namespace content { 19 namespace content {
20 20
21 // static 21 // static
22 PepperPlatformAudioInputImpl* PepperPlatformAudioInputImpl::Create( 22 PepperPlatformAudioInputImpl* PepperPlatformAudioInputImpl::Create(
23 const base::WeakPtr<PepperPluginDelegateImpl>& plugin_delegate, 23 const base::WeakPtr<PepperPluginDelegateImpl>& plugin_delegate,
24 const std::string& device_id, 24 const std::string& device_id,
25 const GURL& document_url, 25 const GURL& document_url,
26 int sample_rate, 26 int sample_rate,
27 int frames_per_buffer, 27 int frames_per_buffer,
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 } 244 }
245 245
246 void PepperPlatformAudioInputImpl::NotifyStreamCreationFailed() { 246 void PepperPlatformAudioInputImpl::NotifyStreamCreationFailed() {
247 DCHECK(main_message_loop_proxy_->BelongsToCurrentThread()); 247 DCHECK(main_message_loop_proxy_->BelongsToCurrentThread());
248 248
249 if (client_) 249 if (client_)
250 client_->StreamCreationFailed(); 250 client_->StreamCreationFailed();
251 } 251 }
252 252
253 } // namespace content 253 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_file_system_host.h ('k') | content/renderer/pepper/pepper_platform_context_3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698