OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_THUNK_THUNK_H_ | 5 #ifndef PPAPI_THUNK_THUNK_H_ |
6 #define PPAPI_THUNK_THUNK_H_ | 6 #define PPAPI_THUNK_THUNK_H_ |
7 | 7 |
8 #include "ppapi/thunk/ppapi_thunk_export.h" | 8 #include "ppapi/thunk/ppapi_thunk_export.h" |
9 | 9 |
10 // Declares a getter for the interface thunk of the form: | 10 // Declares a getter for the interface thunk of the form: |
(...skipping 25 matching lines...) Expand all Loading... |
36 struct PPB_Flash_Menu; | 36 struct PPB_Flash_Menu; |
37 struct PPB_Flash_NetConnector; | 37 struct PPB_Flash_NetConnector; |
38 struct PPB_Graphics3D; | 38 struct PPB_Graphics3D; |
39 struct PPB_Graphics3DTrusted; | 39 struct PPB_Graphics3DTrusted; |
40 struct PPB_ImageDataTrusted; | 40 struct PPB_ImageDataTrusted; |
41 struct PPB_Instance_Private; | 41 struct PPB_Instance_Private; |
42 struct PPB_TCPSocket_Private; | 42 struct PPB_TCPSocket_Private; |
43 struct PPB_UDPSocket_Private; | 43 struct PPB_UDPSocket_Private; |
44 struct PPB_URLLoaderTrusted; | 44 struct PPB_URLLoaderTrusted; |
45 | 45 |
46 typedef PPB_Instance PPB_Instance_1_0; | |
47 | |
48 namespace ppapi { | 46 namespace ppapi { |
49 namespace thunk { | 47 namespace thunk { |
50 | 48 |
51 // Old-style thunk getters. Only put trusted/private stuff here (it hasn't | 49 // Old-style thunk getters. Only put trusted/private stuff here (it hasn't |
52 // yet been converted to the new system). Otherwise, add the declaration to | 50 // yet been converted to the new system). Otherwise, add the declaration to |
53 // the appropriate interfaces_*.h file. | 51 // the appropriate interfaces_*.h file. |
54 PPAPI_THUNK_EXPORT const PPB_AudioInputTrusted_Dev* | 52 PPAPI_THUNK_EXPORT const PPB_AudioInputTrusted_Dev* |
55 GetPPB_AudioInputTrusted_Thunk(); | 53 GetPPB_AudioInputTrusted_Thunk(); |
56 PPAPI_THUNK_EXPORT const PPB_AudioTrusted* GetPPB_AudioTrusted_Thunk(); | 54 PPAPI_THUNK_EXPORT const PPB_AudioTrusted* GetPPB_AudioTrusted_Thunk(); |
57 PPAPI_THUNK_EXPORT const PPB_BrokerTrusted* GetPPB_Broker_Thunk(); | 55 PPAPI_THUNK_EXPORT const PPB_BrokerTrusted* GetPPB_Broker_Thunk(); |
(...skipping 11 matching lines...) Expand all Loading... |
69 PPAPI_THUNK_EXPORT const PPB_TCPSocket_Private* | 67 PPAPI_THUNK_EXPORT const PPB_TCPSocket_Private* |
70 GetPPB_TCPSocket_Private_Thunk(); | 68 GetPPB_TCPSocket_Private_Thunk(); |
71 PPAPI_THUNK_EXPORT const PPB_UDPSocket_Private* | 69 PPAPI_THUNK_EXPORT const PPB_UDPSocket_Private* |
72 GetPPB_UDPSocket_Private_Thunk(); | 70 GetPPB_UDPSocket_Private_Thunk(); |
73 PPAPI_THUNK_EXPORT const PPB_URLLoaderTrusted* GetPPB_URLLoaderTrusted_Thunk(); | 71 PPAPI_THUNK_EXPORT const PPB_URLLoaderTrusted* GetPPB_URLLoaderTrusted_Thunk(); |
74 | 72 |
75 } // namespace thunk | 73 } // namespace thunk |
76 } // namespace ppapi | 74 } // namespace ppapi |
77 | 75 |
78 #endif // PPAPI_THUNK_THUNK_H_ | 76 #endif // PPAPI_THUNK_THUNK_H_ |
OLD | NEW |