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_PPB_URL_LOADER_PROXY_H_ | 5 #ifndef PPAPI_PPB_URL_LOADER_PROXY_H_ |
6 #define PPAPI_PPB_URL_LOADER_PROXY_H_ | 6 #define PPAPI_PPB_URL_LOADER_PROXY_H_ |
7 | 7 |
8 #include "ppapi/c/pp_completion_callback.h" | 8 #include "ppapi/c/pp_completion_callback.h" |
9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
10 #include "ppapi/c/pp_module.h" | 10 #include "ppapi/c/pp_module.h" |
11 #include "ppapi/c/pp_resource.h" | 11 #include "ppapi/c/pp_resource.h" |
12 #include "ppapi/c/pp_size.h" | 12 #include "ppapi/c/pp_size.h" |
13 #include "ppapi/c/pp_var.h" | 13 #include "ppapi/c/pp_var.h" |
14 #include "ppapi/c/ppb_url_loader.h" | |
15 #include "ppapi/c/trusted/ppb_url_loader_trusted.h" | |
16 #include "ppapi/cpp/completion_callback.h" | |
17 #include "ppapi/proxy/interface_proxy.h" | 14 #include "ppapi/proxy/interface_proxy.h" |
18 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" | 15 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" |
19 #include "ppapi/shared_impl/host_resource.h" | 16 #include "ppapi/shared_impl/host_resource.h" |
| 17 #include "ppapi/utility/completion_callback_factory.h" |
20 | 18 |
21 namespace ppapi { | 19 namespace ppapi { |
22 | 20 |
23 struct PPB_URLRequestInfo_Data; | 21 struct PPB_URLRequestInfo_Data; |
24 | 22 |
25 namespace proxy { | 23 namespace proxy { |
26 | 24 |
27 struct PPBURLLoader_UpdateProgress_Params; | 25 struct PPBURLLoader_UpdateProgress_Params; |
28 | 26 |
29 class PPB_URLLoader_Proxy : public InterfaceProxy { | 27 class PPB_URLLoader_Proxy : public InterfaceProxy { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 89 |
92 // Valid only in the host, this lazily-initialized pointer indicates the | 90 // Valid only in the host, this lazily-initialized pointer indicates the |
93 // URLLoaderTrusted interface. | 91 // URLLoaderTrusted interface. |
94 const PPB_URLLoaderTrusted* host_urlloader_trusted_interface_; | 92 const PPB_URLLoaderTrusted* host_urlloader_trusted_interface_; |
95 }; | 93 }; |
96 | 94 |
97 } // namespace proxy | 95 } // namespace proxy |
98 } // namespace ppapi | 96 } // namespace ppapi |
99 | 97 |
100 #endif // PPAPI_PPB_URL_LOADER_PROXY_H_ | 98 #endif // PPAPI_PPB_URL_LOADER_PROXY_H_ |
OLD | NEW |