| 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_SHARED_IMPL_RESOURCE_H_ | 5 #ifndef PPAPI_SHARED_IMPL_RESOURCE_H_ |
| 6 #define PPAPI_SHARED_IMPL_RESOURCE_H_ | 6 #define PPAPI_SHARED_IMPL_RESOURCE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> // For NULL. | 8 #include <stddef.h> // For NULL. |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 F(PPB_TCPServerSocket_Private_API) \ | 73 F(PPB_TCPServerSocket_Private_API) \ |
| 74 F(PPB_TCPSocket_API) \ | 74 F(PPB_TCPSocket_API) \ |
| 75 F(PPB_TCPSocket_Private_API) \ | 75 F(PPB_TCPSocket_Private_API) \ |
| 76 F(PPB_UDPSocket_API) \ | 76 F(PPB_UDPSocket_API) \ |
| 77 F(PPB_UDPSocket_Private_API) \ | 77 F(PPB_UDPSocket_Private_API) \ |
| 78 F(PPB_UMA_Singleton_API) \ | 78 F(PPB_UMA_Singleton_API) \ |
| 79 F(PPB_URLLoader_API) \ | 79 F(PPB_URLLoader_API) \ |
| 80 F(PPB_URLRequestInfo_API) \ | 80 F(PPB_URLRequestInfo_API) \ |
| 81 F(PPB_URLResponseInfo_API) \ | 81 F(PPB_URLResponseInfo_API) \ |
| 82 F(PPB_VideoCapture_API) \ | 82 F(PPB_VideoCapture_API) \ |
| 83 F(PPB_VideoDecoder_API) \ | 83 F(PPB_VideoDecoder_Dev_API) \ |
| 84 F(PPB_VideoDestination_Private_API) \ | 84 F(PPB_VideoDestination_Private_API) \ |
| 85 F(PPB_VideoFrame_API) \ | 85 F(PPB_VideoFrame_API) \ |
| 86 F(PPB_VideoLayer_API) \ | 86 F(PPB_VideoLayer_API) \ |
| 87 F(PPB_VideoSource_Private_API) \ | 87 F(PPB_VideoSource_Private_API) \ |
| 88 F(PPB_View_API) \ | 88 F(PPB_View_API) \ |
| 89 F(PPB_WebSocket_API) \ | 89 F(PPB_WebSocket_API) \ |
| 90 F(PPB_Widget_API) \ | 90 F(PPB_Widget_API) \ |
| 91 F(PPB_X509Certificate_Private_API) | 91 F(PPB_X509Certificate_Private_API) |
| 92 | 92 |
| 93 namespace IPC { | 93 namespace IPC { |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 template <> \ | 249 template <> \ |
| 250 inline thunk::RESOURCE* Resource::GetAs() { \ | 250 inline thunk::RESOURCE* Resource::GetAs() { \ |
| 251 return As##RESOURCE(); \ | 251 return As##RESOURCE(); \ |
| 252 } | 252 } |
| 253 FOR_ALL_PPAPI_RESOURCE_APIS(DEFINE_RESOURCE_CAST) | 253 FOR_ALL_PPAPI_RESOURCE_APIS(DEFINE_RESOURCE_CAST) |
| 254 #undef DEFINE_RESOURCE_CAST | 254 #undef DEFINE_RESOURCE_CAST |
| 255 | 255 |
| 256 } // namespace ppapi | 256 } // namespace ppapi |
| 257 | 257 |
| 258 #endif // PPAPI_SHARED_IMPL_RESOURCE_H_ | 258 #endif // PPAPI_SHARED_IMPL_RESOURCE_H_ |
| OLD | NEW |