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

Side by Side Diff: ppapi/proxy/ppb_audio_proxy.cc

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 12 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
« no previous file with comments | « ppapi/proxy/ppb_audio_proxy.h ('k') | ppapi/proxy/ppb_broker_proxy.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 "ppapi/proxy/ppb_audio_proxy.h" 5 #include "ppapi/proxy/ppb_audio_proxy.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/macros.h"
8 #include "base/threading/simple_thread.h" 9 #include "base/threading/simple_thread.h"
10 #include "build/build_config.h"
9 #include "ppapi/c/pp_errors.h" 11 #include "ppapi/c/pp_errors.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/c/ppb_var.h" 14 #include "ppapi/c/ppb_var.h"
13 #include "ppapi/proxy/enter_proxy.h" 15 #include "ppapi/proxy/enter_proxy.h"
14 #include "ppapi/proxy/plugin_dispatcher.h" 16 #include "ppapi/proxy/plugin_dispatcher.h"
15 #include "ppapi/proxy/ppapi_messages.h" 17 #include "ppapi/proxy/ppapi_messages.h"
16 #include "ppapi/shared_impl/api_id.h" 18 #include "ppapi/shared_impl/api_id.h"
17 #include "ppapi/shared_impl/platform_file.h" 19 #include "ppapi/shared_impl/platform_file.h"
18 #include "ppapi/shared_impl/ppapi_globals.h" 20 #include "ppapi/shared_impl/ppapi_globals.h"
19 #include "ppapi/shared_impl/ppb_audio_shared.h" 21 #include "ppapi/shared_impl/ppb_audio_shared.h"
20 #include "ppapi/shared_impl/resource.h" 22 #include "ppapi/shared_impl/resource.h"
23 #include "ppapi/thunk/enter.h"
21 #include "ppapi/thunk/ppb_audio_config_api.h" 24 #include "ppapi/thunk/ppb_audio_config_api.h"
22 #include "ppapi/thunk/enter.h"
23 #include "ppapi/thunk/resource_creation_api.h" 25 #include "ppapi/thunk/resource_creation_api.h"
24 #include "ppapi/thunk/thunk.h" 26 #include "ppapi/thunk/thunk.h"
25 27
26 using ppapi::IntToPlatformFile; 28 using ppapi::IntToPlatformFile;
27 using ppapi::proxy::SerializedHandle; 29 using ppapi::proxy::SerializedHandle;
28 using ppapi::thunk::EnterResourceNoLock; 30 using ppapi::thunk::EnterResourceNoLock;
29 using ppapi::thunk::PPB_Audio_API; 31 using ppapi::thunk::PPB_Audio_API;
30 using ppapi::thunk::PPB_AudioConfig_API; 32 using ppapi::thunk::PPB_AudioConfig_API;
31 33
32 namespace ppapi { 34 namespace ppapi {
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 static_cast<Audio*>(enter.object())->SetStreamInfo( 331 static_cast<Audio*>(enter.object())->SetStreamInfo(
330 enter.resource()->pp_instance(), handle.shmem(), handle.size(), 332 enter.resource()->pp_instance(), handle.shmem(), handle.size(),
331 IPC::PlatformFileForTransitToPlatformFile(socket_handle.descriptor()), 333 IPC::PlatformFileForTransitToPlatformFile(socket_handle.descriptor()),
332 config.object()->GetSampleRate(), 334 config.object()->GetSampleRate(),
333 config.object()->GetSampleFrameCount()); 335 config.object()->GetSampleFrameCount());
334 } 336 }
335 } 337 }
336 338
337 } // namespace proxy 339 } // namespace proxy
338 } // namespace ppapi 340 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_audio_proxy.h ('k') | ppapi/proxy/ppb_broker_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698