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

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

Issue 10944005: Pepper WebSocket API: Implement new design Chrome IPC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nits Created 8 years, 2 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_messages.h ('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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 const int32_t* attrib_list) OVERRIDE; 115 const int32_t* attrib_list) OVERRIDE;
116 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE; 116 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE;
117 virtual PP_Resource CreateNetworkMonitor( 117 virtual PP_Resource CreateNetworkMonitor(
118 PP_Instance instance, 118 PP_Instance instance,
119 PPB_NetworkMonitor_Callback callback, 119 PPB_NetworkMonitor_Callback callback,
120 void* user_data) OVERRIDE; 120 void* user_data) OVERRIDE;
121 virtual PP_Resource CreateTCPServerSocketPrivate( 121 virtual PP_Resource CreateTCPServerSocketPrivate(
122 PP_Instance instance) OVERRIDE; 122 PP_Instance instance) OVERRIDE;
123 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; 123 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE;
124 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; 124 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE;
125 virtual PP_Resource CreateWebSocket(PP_Instance instance) OVERRIDE;
125 virtual PP_Resource CreateX509CertificatePrivate( 126 virtual PP_Resource CreateX509CertificatePrivate(
126 PP_Instance instance) OVERRIDE; 127 PP_Instance instance) OVERRIDE;
127 #if !defined(OS_NACL) 128 #if !defined(OS_NACL)
128 virtual PP_Resource CreateAudioInput0_1( 129 virtual PP_Resource CreateAudioInput0_1(
129 PP_Instance instance, 130 PP_Instance instance,
130 PP_Resource config_id, 131 PP_Resource config_id,
131 PPB_AudioInput_Callback audio_input_callback, 132 PPB_AudioInput_Callback audio_input_callback,
132 void* user_data) OVERRIDE; 133 void* user_data) OVERRIDE;
133 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE; 134 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE;
134 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; 135 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE;
(...skipping 13 matching lines...) Expand all
148 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; 149 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE;
149 virtual PP_Resource CreatePrinting(PP_Instance) OVERRIDE; 150 virtual PP_Resource CreatePrinting(PP_Instance) OVERRIDE;
150 virtual PP_Resource CreateScrollbar(PP_Instance instance, 151 virtual PP_Resource CreateScrollbar(PP_Instance instance,
151 PP_Bool vertical) OVERRIDE; 152 PP_Bool vertical) OVERRIDE;
152 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; 153 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE;
153 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; 154 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE;
154 virtual PP_Resource CreateVideoDecoder( 155 virtual PP_Resource CreateVideoDecoder(
155 PP_Instance instance, 156 PP_Instance instance,
156 PP_Resource context3d_id, 157 PP_Resource context3d_id,
157 PP_VideoDecoder_Profile profile) OVERRIDE; 158 PP_VideoDecoder_Profile profile) OVERRIDE;
158 virtual PP_Resource CreateWebSocket(PP_Instance instance) OVERRIDE;
159 #endif // !defined(OS_NACL) 159 #endif // !defined(OS_NACL)
160 160
161 virtual bool Send(IPC::Message* msg) OVERRIDE; 161 virtual bool Send(IPC::Message* msg) OVERRIDE;
162 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 162 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
163 163
164 private: 164 private:
165 Connection GetConnection(); 165 Connection GetConnection();
166 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); 166 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy);
167 }; 167 };
168 168
169 } // namespace proxy 169 } // namespace proxy
170 } // namespace ppapi 170 } // namespace ppapi
171 171
172 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 172 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/resource_creation_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698