OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2010 The Native Client Authors. All rights reserved. | 2 * Copyright 2010 The Native Client Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can | 3 * Use of this source code is governed by a BSD-style license that can |
4 * be found in the LICENSE file. | 4 * be found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_AUDIO_CONFIG_H_ | 7 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_AUDIO_CONFIG_H_ |
8 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_AUDIO_CONFIG_H_ | 8 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_AUDIO_CONFIG_H_ |
9 | 9 |
10 #include "native_client/src/include/nacl_macros.h" | 10 #include "native_client/src/include/nacl_macros.h" |
| 11 #include "native_client/src/shared/ppapi_proxy/plugin_resource.h" |
11 #include "ppapi/c/dev/ppb_audio_config_dev.h" | 12 #include "ppapi/c/dev/ppb_audio_config_dev.h" |
12 | 13 |
13 namespace ppapi_proxy { | 14 namespace ppapi_proxy { |
14 | 15 |
15 // Implements the plugin (i.e., .nexe) side of the PPB_AudioConfig interface. | 16 // Implements the plugin (i.e., .nexe) side of the PPB_AudioConfig interface. |
16 class PluginAudioConfig { | 17 class PluginAudioConfig : public PluginResource { |
17 public: | 18 public: |
18 static const PPB_AudioConfig_Dev* GetInterface(); | 19 static const PPB_AudioConfig_Dev* GetInterface(); |
19 | 20 |
20 private: | 21 private: |
21 NACL_DISALLOW_COPY_AND_ASSIGN(PluginAudioConfig); | 22 NACL_DISALLOW_COPY_AND_ASSIGN(PluginAudioConfig); |
22 }; | 23 }; |
23 | 24 |
24 } // namespace ppapi_proxy | 25 } // namespace ppapi_proxy |
25 | 26 |
26 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_AUDIO_CONFIG_H_ | 27 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_AUDIO_CONFIG_H_ |
OLD | NEW |