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; | 46 //typedef PPB_Instance PPB_Instance_2_0; |
dmichael (off chromium)
2011/12/20 19:01:34
Please remove
| |
47 | 47 |
48 namespace ppapi { | 48 namespace ppapi { |
49 namespace thunk { | 49 namespace thunk { |
50 | 50 |
51 // Old-style thunk getters. Only put trusted/private stuff here (it hasn't | 51 // 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 | 52 // yet been converted to the new system). Otherwise, add the declaration to |
53 // the appropriate interfaces_*.h file. | 53 // the appropriate interfaces_*.h file. |
54 PPAPI_THUNK_EXPORT const PPB_AudioInputTrusted_Dev* | 54 PPAPI_THUNK_EXPORT const PPB_AudioInputTrusted_Dev* |
55 GetPPB_AudioInputTrusted_Thunk(); | 55 GetPPB_AudioInputTrusted_Thunk(); |
56 PPAPI_THUNK_EXPORT const PPB_AudioTrusted* GetPPB_AudioTrusted_Thunk(); | 56 PPAPI_THUNK_EXPORT const PPB_AudioTrusted* GetPPB_AudioTrusted_Thunk(); |
(...skipping 12 matching lines...) Expand all Loading... | |
69 PPAPI_THUNK_EXPORT const PPB_TCPSocket_Private* | 69 PPAPI_THUNK_EXPORT const PPB_TCPSocket_Private* |
70 GetPPB_TCPSocket_Private_Thunk(); | 70 GetPPB_TCPSocket_Private_Thunk(); |
71 PPAPI_THUNK_EXPORT const PPB_UDPSocket_Private* | 71 PPAPI_THUNK_EXPORT const PPB_UDPSocket_Private* |
72 GetPPB_UDPSocket_Private_Thunk(); | 72 GetPPB_UDPSocket_Private_Thunk(); |
73 PPAPI_THUNK_EXPORT const PPB_URLLoaderTrusted* GetPPB_URLLoaderTrusted_Thunk(); | 73 PPAPI_THUNK_EXPORT const PPB_URLLoaderTrusted* GetPPB_URLLoaderTrusted_Thunk(); |
74 | 74 |
75 } // namespace thunk | 75 } // namespace thunk |
76 } // namespace ppapi | 76 } // namespace ppapi |
77 | 77 |
78 #endif // PPAPI_THUNK_THUNK_H_ | 78 #endif // PPAPI_THUNK_THUNK_H_ |
OLD | NEW |