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

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

Issue 20165002: Move webkit/plugins/ppapi to content/renderer/pepper. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: more more clang fun 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
« no previous file with comments | « content/renderer/pepper/ppb_audio_impl.h ('k') | content/renderer/pepper/ppb_broker_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "webkit/plugins/ppapi/ppb_audio_impl.h" 5 #include "content/renderer/pepper/ppb_audio_impl.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "content/renderer/pepper/common.h"
9 #include "content/renderer/pepper/resource_helper.h"
8 #include "media/audio/audio_output_controller.h" 10 #include "media/audio/audio_output_controller.h"
9 #include "ppapi/c/pp_completion_callback.h" 11 #include "ppapi/c/pp_completion_callback.h"
10 #include "ppapi/c/ppb_audio.h" 12 #include "ppapi/c/ppb_audio.h"
11 #include "ppapi/c/ppb_audio_config.h" 13 #include "ppapi/c/ppb_audio_config.h"
12 #include "ppapi/shared_impl/resource_tracker.h" 14 #include "ppapi/shared_impl/resource_tracker.h"
13 #include "ppapi/thunk/enter.h" 15 #include "ppapi/thunk/enter.h"
14 #include "ppapi/thunk/ppb_audio_config_api.h" 16 #include "ppapi/thunk/ppb_audio_config_api.h"
15 #include "ppapi/thunk/thunk.h" 17 #include "ppapi/thunk/thunk.h"
16 #include "webkit/plugins/ppapi/common.h"
17 #include "webkit/plugins/ppapi/resource_helper.h"
18 18
19 using ppapi::PpapiGlobals; 19 using ppapi::PpapiGlobals;
20 using ppapi::thunk::EnterResourceNoLock; 20 using ppapi::thunk::EnterResourceNoLock;
21 using ppapi::thunk::PPB_Audio_API; 21 using ppapi::thunk::PPB_Audio_API;
22 using ppapi::thunk::PPB_AudioConfig_API; 22 using ppapi::thunk::PPB_AudioConfig_API;
23 using ppapi::TrackedCallback; 23 using ppapi::TrackedCallback;
24 24
25 namespace webkit { 25 namespace webkit {
26 namespace ppapi { 26 namespace ppapi {
27 27
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 void PPB_Audio_Impl::OnSetStreamInfo( 152 void PPB_Audio_Impl::OnSetStreamInfo(
153 base::SharedMemoryHandle shared_memory_handle, 153 base::SharedMemoryHandle shared_memory_handle,
154 size_t shared_memory_size, 154 size_t shared_memory_size,
155 base::SyncSocket::Handle socket_handle) { 155 base::SyncSocket::Handle socket_handle) {
156 SetStreamInfo(pp_instance(), shared_memory_handle, shared_memory_size, 156 SetStreamInfo(pp_instance(), shared_memory_handle, shared_memory_size,
157 socket_handle, sample_frame_count_); 157 socket_handle, sample_frame_count_);
158 } 158 }
159 159
160 } // namespace ppapi 160 } // namespace ppapi
161 } // namespace webkit 161 } // namespace webkit
OLDNEW
« no previous file with comments | « content/renderer/pepper/ppb_audio_impl.h ('k') | content/renderer/pepper/ppb_broker_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698