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