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

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

Issue 9557007: PPB_AudioInput_Dev: support multiple audio input devices - Part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes in response to Trung's comments. Created 8 years, 9 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/ppb_audio_input_proxy.cc ('k') | ppapi/proxy/resource_creation_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) 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 #ifndef PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 5 #ifndef PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 28 matching lines...) Expand all
39 39
40 // ResourceCreationAPI (called in plugin). 40 // ResourceCreationAPI (called in plugin).
41 virtual PP_Resource CreateAudio(PP_Instance instance, 41 virtual PP_Resource CreateAudio(PP_Instance instance,
42 PP_Resource config_id, 42 PP_Resource config_id,
43 PPB_Audio_Callback audio_callback, 43 PPB_Audio_Callback audio_callback,
44 void* user_data) OVERRIDE; 44 void* user_data) OVERRIDE;
45 virtual PP_Resource CreateAudioConfig(PP_Instance instance, 45 virtual PP_Resource CreateAudioConfig(PP_Instance instance,
46 PP_AudioSampleRate sample_rate, 46 PP_AudioSampleRate sample_rate,
47 uint32_t sample_frame_count) OVERRIDE; 47 uint32_t sample_frame_count) OVERRIDE;
48 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; 48 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE;
49 virtual PP_Resource CreateAudioInput( 49 virtual PP_Resource CreateAudioInput0_1(
50 PP_Instance instance, 50 PP_Instance instance,
51 PP_Resource config_id, 51 PP_Resource config_id,
52 PPB_AudioInput_Callback audio_input_callback, 52 PPB_AudioInput_Callback audio_input_callback,
53 void* user_data) OVERRIDE; 53 void* user_data) OVERRIDE;
54 virtual PP_Resource CreateAudioInputTrusted(PP_Instance instance) OVERRIDE; 54 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE;
55 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; 55 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE;
56 virtual PP_Resource CreateBrowserFont( 56 virtual PP_Resource CreateBrowserFont(
57 PP_Instance instance, 57 PP_Instance instance,
58 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; 58 const PP_BrowserFont_Trusted_Description* description) OVERRIDE;
59 virtual PP_Resource CreateBuffer(PP_Instance instance, 59 virtual PP_Resource CreateBuffer(PP_Instance instance,
60 uint32_t size) OVERRIDE; 60 uint32_t size) OVERRIDE;
61 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; 61 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE;
62 virtual PP_Resource CreateFileChooser( 62 virtual PP_Resource CreateFileChooser(
63 PP_Instance instance, 63 PP_Instance instance,
64 PP_FileChooserMode_Dev mode, 64 PP_FileChooserMode_Dev mode,
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 137 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
138 138
139 private: 139 private:
140 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); 140 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy);
141 }; 141 };
142 142
143 } // namespace proxy 143 } // namespace proxy
144 } // namespace ppapi 144 } // namespace ppapi
145 145
146 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 146 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_audio_input_proxy.cc ('k') | ppapi/proxy/resource_creation_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698