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

Side by Side Diff: ppapi/proxy/ppb_audio_config_proxy.h

Issue 7623018: Move host resource from the proxy to the shared_impl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed Created 9 years, 4 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 | « ppapi/proxy/ppapi_param_traits.cc ('k') | ppapi/proxy/ppb_audio_config_proxy.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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef PPAPI_PROXY_PPB_AUDIO_CONFIG_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_AUDIO_CONFIG_PROXY_H_
6 #define PPAPI_PROXY_PPB_AUDIO_CONFIG_PROXY_H_ 6 #define PPAPI_PROXY_PPB_AUDIO_CONFIG_PROXY_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/c/pp_resource.h" 10 #include "ppapi/c/pp_resource.h"
11 #include "ppapi/c/ppb_audio_config.h" 11 #include "ppapi/c/ppb_audio_config.h"
12 #include "ppapi/proxy/interface_proxy.h" 12 #include "ppapi/proxy/interface_proxy.h"
13 13
14 struct PPB_AudioConfig; 14 struct PPB_AudioConfig;
15 15
16 namespace pp { 16 namespace pp {
17 namespace proxy { 17 namespace proxy {
18 18
19 class HostResource;
20
21 class PPB_AudioConfig_Proxy : public InterfaceProxy { 19 class PPB_AudioConfig_Proxy : public InterfaceProxy {
22 public: 20 public:
23 PPB_AudioConfig_Proxy(Dispatcher* dispatcher, const void* target_interface); 21 PPB_AudioConfig_Proxy(Dispatcher* dispatcher, const void* target_interface);
24 virtual ~PPB_AudioConfig_Proxy(); 22 virtual ~PPB_AudioConfig_Proxy();
25 23
26 static const Info* GetInfo(); 24 static const Info* GetInfo();
27 25
28 static PP_Resource CreateProxyResource(PP_Instance instance, 26 static PP_Resource CreateProxyResource(PP_Instance instance,
29 PP_AudioSampleRate sample_rate, 27 PP_AudioSampleRate sample_rate,
30 uint32_t sample_frame_count); 28 uint32_t sample_frame_count);
31 29
32 // InterfaceProxy implementation. 30 // InterfaceProxy implementation.
33 virtual bool OnMessageReceived(const IPC::Message& msg); 31 virtual bool OnMessageReceived(const IPC::Message& msg);
34 32
35 private: 33 private:
36 DISALLOW_COPY_AND_ASSIGN(PPB_AudioConfig_Proxy); 34 DISALLOW_COPY_AND_ASSIGN(PPB_AudioConfig_Proxy);
37 }; 35 };
38 36
39 } // namespace proxy 37 } // namespace proxy
40 } // namespace pp 38 } // namespace pp
41 39
42 #endif // PPAPI_PROXY_PPB_AUDIO_CONFIG_PROXY_H_ 40 #endif // PPAPI_PROXY_PPB_AUDIO_CONFIG_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_param_traits.cc ('k') | ppapi/proxy/ppb_audio_config_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698