Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1037)

Side by Side Diff: ppapi/thunk/thunk.h

Issue 14371021: Implementation of URLLoader using PluginResource/ResourceHost. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase, track src/webkit gypi changes. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ppapi/thunk/resource_creation_api.h ('k') | webkit/plugins/ppapi/mock_plugin_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_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/c/private/ppb_instance_private.h" 8 #include "ppapi/c/private/ppb_instance_private.h"
9 #include "ppapi/c/trusted/ppb_audio_trusted.h" 9 #include "ppapi/c/trusted/ppb_audio_trusted.h"
10 #include "ppapi/c/trusted/ppb_buffer_trusted.h" 10 #include "ppapi/c/trusted/ppb_buffer_trusted.h"
11 #include "ppapi/c/trusted/ppb_graphics_3d_trusted.h" 11 #include "ppapi/c/trusted/ppb_graphics_3d_trusted.h"
12 #include "ppapi/c/trusted/ppb_image_data_trusted.h" 12 #include "ppapi/c/trusted/ppb_image_data_trusted.h"
13 #include "ppapi/c/trusted/ppb_url_loader_trusted.h"
14 #include "ppapi/thunk/ppapi_thunk_export.h" 13 #include "ppapi/thunk/ppapi_thunk_export.h"
15 14
16 // Declares a getter for the interface thunk of the form: 15 // Declares a getter for the interface thunk of the form:
17 // 16 //
18 // const PPB_Foo* ppapi::thunk::GetPPB_Foo_Thunk(); 17 // const PPB_Foo* ppapi::thunk::GetPPB_Foo_Thunk();
19 // 18 //
20 #define IFACE(api_name, interface_name, InterfaceType) \ 19 #define IFACE(api_name, interface_name, InterfaceType) \
21 struct InterfaceType; \ 20 struct InterfaceType; \
22 namespace ppapi { namespace thunk { \ 21 namespace ppapi { namespace thunk { \
23 PPAPI_THUNK_EXPORT const InterfaceType* Get##InterfaceType##_Thunk(); \ 22 PPAPI_THUNK_EXPORT const InterfaceType* Get##InterfaceType##_Thunk(); \
(...skipping 19 matching lines...) Expand all
43 // the appropriate interfaces_*.h file. 42 // the appropriate interfaces_*.h file.
44 PPAPI_THUNK_EXPORT const PPB_AudioTrusted_0_6* GetPPB_AudioTrusted_0_6_Thunk(); 43 PPAPI_THUNK_EXPORT const PPB_AudioTrusted_0_6* GetPPB_AudioTrusted_0_6_Thunk();
45 PPAPI_THUNK_EXPORT const PPB_BufferTrusted_0_1* 44 PPAPI_THUNK_EXPORT const PPB_BufferTrusted_0_1*
46 GetPPB_BufferTrusted_0_1_Thunk(); 45 GetPPB_BufferTrusted_0_1_Thunk();
47 PPAPI_THUNK_EXPORT const PPB_Graphics3DTrusted_1_0* 46 PPAPI_THUNK_EXPORT const PPB_Graphics3DTrusted_1_0*
48 GetPPB_Graphics3DTrusted_1_0_Thunk(); 47 GetPPB_Graphics3DTrusted_1_0_Thunk();
49 PPAPI_THUNK_EXPORT const PPB_ImageDataTrusted_0_4* 48 PPAPI_THUNK_EXPORT const PPB_ImageDataTrusted_0_4*
50 GetPPB_ImageDataTrusted_0_4_Thunk(); 49 GetPPB_ImageDataTrusted_0_4_Thunk();
51 PPAPI_THUNK_EXPORT const PPB_Instance_Private_0_1* 50 PPAPI_THUNK_EXPORT const PPB_Instance_Private_0_1*
52 GetPPB_Instance_Private_0_1_Thunk(); 51 GetPPB_Instance_Private_0_1_Thunk();
53 PPAPI_THUNK_EXPORT const PPB_URLLoaderTrusted_0_3*
54 GetPPB_URLLoaderTrusted_0_3_Thunk();
55 52
56 } // namespace thunk 53 } // namespace thunk
57 } // namespace ppapi 54 } // namespace ppapi
58 55
59 #endif // PPAPI_THUNK_THUNK_H_ 56 #endif // PPAPI_THUNK_THUNK_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/resource_creation_api.h ('k') | webkit/plugins/ppapi/mock_plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698