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

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_audio.h

Issue 8949069: Remove references to headers not in TC. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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 | « no previous file | ppapi/native_client/tests/ppapi_example_audio/audio.cc » ('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 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can 2 // Use of this source code is governed by a BSD-style license that can be
3 // be found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_AUDIO_H_ 5 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_AUDIO_H_
6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_AUDIO_H_ 6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_AUDIO_H_
7 7
8 #include <nacl/nacl_srpc.h>
9 #include <pthread.h> 8 #include <pthread.h>
10 #include "native_client/src/include/nacl_base.h" 9 #include "native_client/src/include/nacl_base.h"
11 #include "native_client/src/include/nacl_macros.h" 10 #include "native_client/src/include/nacl_macros.h"
12 #include "native_client/src/include/portability.h" 11 #include "native_client/src/include/portability.h"
13 #include "native_client/src/include/ref_counted.h" 12 #include "native_client/src/include/ref_counted.h"
14 #include "native_client/src/shared/ppapi_proxy/plugin_resource.h" 13 #include "native_client/src/shared/ppapi_proxy/plugin_resource.h"
14 #include "native_client/src/shared/srpc/nacl_srpc.h"
15 #include "ppapi/c/pp_resource.h" 15 #include "ppapi/c/pp_resource.h"
16 #include "ppapi/c/ppb_audio.h" 16 #include "ppapi/c/ppb_audio.h"
17 17
18 namespace ppapi_proxy { 18 namespace ppapi_proxy {
19 19
20 enum PluginAudioState { 20 enum PluginAudioState {
21 AUDIO_INCOMPLETE = 0, // StreamCreated not yet invoked 21 AUDIO_INCOMPLETE = 0, // StreamCreated not yet invoked
22 AUDIO_PENDING, // Incomplete and app requested StartPlayback 22 AUDIO_PENDING, // Incomplete and app requested StartPlayback
23 AUDIO_READY, // StreamCreated invoked, ready for playback 23 AUDIO_READY, // StreamCreated invoked, ready for playback
24 AUDIO_PLAYING // Audio in playback 24 AUDIO_PLAYING // Audio in playback
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 bool thread_active_; 56 bool thread_active_;
57 PPB_Audio_Callback user_callback_; 57 PPB_Audio_Callback user_callback_;
58 void* user_data_; 58 void* user_data_;
59 IMPLEMENT_RESOURCE(PluginAudio); 59 IMPLEMENT_RESOURCE(PluginAudio);
60 NACL_DISALLOW_COPY_AND_ASSIGN(PluginAudio); 60 NACL_DISALLOW_COPY_AND_ASSIGN(PluginAudio);
61 }; 61 };
62 62
63 } // namespace ppapi_proxy 63 } // namespace ppapi_proxy
64 64
65 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_AUDIO_H_ 65 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_AUDIO_H_
OLDNEW
« no previous file with comments | « no previous file | ppapi/native_client/tests/ppapi_example_audio/audio.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698