| OLD | NEW |
| 1 // Copyright (c) 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 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_config_proxy.h" | 5 #include "ppapi/proxy/ppb_audio_config_proxy.h" |
| 6 | 6 |
| 7 #include "ppapi/c/ppb_audio_config.h" | 7 #include "ppapi/c/ppb_audio_config.h" |
| 8 #include "ppapi/proxy/plugin_dispatcher.h" | 8 #include "ppapi/proxy/plugin_dispatcher.h" |
| 9 #include "ppapi/proxy/plugin_resource.h" | 9 #include "ppapi/proxy/plugin_resource.h" |
| 10 #include "ppapi/proxy/ppapi_messages.h" | 10 #include "ppapi/proxy/ppapi_messages.h" |
| 11 #include "ppapi/shared_impl/audio_config_impl.h" | 11 #include "ppapi/shared_impl/audio_config_impl.h" |
| 12 #include "ppapi/thunk/thunk.h" | 12 #include "ppapi/thunk/thunk.h" |
| 13 | 13 |
| 14 using ppapi::HostResource; |
| 15 |
| 14 namespace pp { | 16 namespace pp { |
| 15 namespace proxy { | 17 namespace proxy { |
| 16 | 18 |
| 17 // The implementation is actually in AudioConfigImpl. | 19 // The implementation is actually in AudioConfigImpl. |
| 18 class AudioConfig : public PluginResource, | 20 class AudioConfig : public PluginResource, |
| 19 public ppapi::AudioConfigImpl { | 21 public ppapi::AudioConfigImpl { |
| 20 public: | 22 public: |
| 21 // Note that you must call Init (on AudioConfigImpl) before using this class. | 23 // Note that you must call Init (on AudioConfigImpl) before using this class. |
| 22 AudioConfig(const HostResource& resource); | 24 AudioConfig(const HostResource& resource); |
| 23 virtual ~AudioConfig(); | 25 virtual ~AudioConfig(); |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 } | 84 } |
| 83 | 85 |
| 84 bool PPB_AudioConfig_Proxy::OnMessageReceived(const IPC::Message& msg) { | 86 bool PPB_AudioConfig_Proxy::OnMessageReceived(const IPC::Message& msg) { |
| 85 // There are no IPC messages for this interface. | 87 // There are no IPC messages for this interface. |
| 86 NOTREACHED(); | 88 NOTREACHED(); |
| 87 return false; | 89 return false; |
| 88 } | 90 } |
| 89 | 91 |
| 90 } // namespace proxy | 92 } // namespace proxy |
| 91 } // namespace pp | 93 } // namespace pp |
| OLD | NEW |