OLD | NEW |
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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 virtual PP_Resource CreateNetworkMonitor( | 127 virtual PP_Resource CreateNetworkMonitor( |
128 PP_Instance instance, | 128 PP_Instance instance, |
129 PPB_NetworkMonitor_Callback callback, | 129 PPB_NetworkMonitor_Callback callback, |
130 void* user_data) OVERRIDE; | 130 void* user_data) OVERRIDE; |
131 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 131 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
132 PP_Bool vertical) OVERRIDE; | 132 PP_Bool vertical) OVERRIDE; |
133 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; | 133 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; |
134 virtual PP_Resource CreateTCPServerSocketPrivate( | 134 virtual PP_Resource CreateTCPServerSocketPrivate( |
135 PP_Instance instance) OVERRIDE; | 135 PP_Instance instance) OVERRIDE; |
136 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; | 136 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; |
137 virtual PP_Resource CreateTransport(PP_Instance instance, | |
138 const char* name, | |
139 PP_TransportType type) OVERRIDE; | |
140 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; | 137 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; |
141 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; | 138 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; |
142 virtual PP_Resource CreateVideoDecoder( | 139 virtual PP_Resource CreateVideoDecoder( |
143 PP_Instance instance, | 140 PP_Instance instance, |
144 PP_Resource context3d_id, | 141 PP_Resource context3d_id, |
145 PP_VideoDecoder_Profile profile) OVERRIDE; | 142 PP_VideoDecoder_Profile profile) OVERRIDE; |
146 virtual PP_Resource CreateVideoLayer(PP_Instance instance, | 143 virtual PP_Resource CreateVideoLayer(PP_Instance instance, |
147 PP_VideoLayerMode_Dev mode) OVERRIDE; | 144 PP_VideoLayerMode_Dev mode) OVERRIDE; |
148 virtual PP_Resource CreateWebSocket(PP_Instance instance) OVERRIDE; | 145 virtual PP_Resource CreateWebSocket(PP_Instance instance) OVERRIDE; |
149 virtual PP_Resource CreateX509CertificatePrivate( | 146 virtual PP_Resource CreateX509CertificatePrivate( |
150 PP_Instance instance) OVERRIDE; | 147 PP_Instance instance) OVERRIDE; |
151 #endif // !defined(OS_NACL) | 148 #endif // !defined(OS_NACL) |
152 | 149 |
153 virtual bool Send(IPC::Message* msg) OVERRIDE; | 150 virtual bool Send(IPC::Message* msg) OVERRIDE; |
154 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 151 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
155 | 152 |
156 private: | 153 private: |
157 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 154 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
158 }; | 155 }; |
159 | 156 |
160 } // namespace proxy | 157 } // namespace proxy |
161 } // namespace ppapi | 158 } // namespace ppapi |
162 | 159 |
163 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 160 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
OLD | NEW |