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_PROXY_PPB_URL_REQUEST_INFO_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_URL_REQUEST_INFO_PROXY_H_ |
6 #define PPAPI_PROXY_PPB_URL_REQUEST_INFO_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_URL_REQUEST_INFO_PROXY_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
10 #include "ppapi/c/pp_resource.h" | 10 #include "ppapi/c/pp_resource.h" |
11 #include "ppapi/proxy/interface_proxy.h" | 11 #include "ppapi/proxy/interface_proxy.h" |
12 #include "ppapi/shared_impl/host_resource.h" | 12 #include "ppapi/shared_impl/host_resource.h" |
13 | 13 |
14 struct PPB_URLRequestInfo; | 14 struct PPB_URLRequestInfo; |
15 | 15 |
16 namespace pp { | 16 namespace ppapi { |
17 namespace proxy { | 17 namespace proxy { |
18 | 18 |
19 class SerializedVarReceiveInput; | 19 class SerializedVarReceiveInput; |
20 | 20 |
21 class PPB_URLRequestInfo_Proxy : public InterfaceProxy { | 21 class PPB_URLRequestInfo_Proxy : public InterfaceProxy { |
22 public: | 22 public: |
23 PPB_URLRequestInfo_Proxy(Dispatcher* dispatcher, | 23 PPB_URLRequestInfo_Proxy(Dispatcher* dispatcher, |
24 const void* target_interface); | 24 const void* target_interface); |
25 virtual ~PPB_URLRequestInfo_Proxy(); | 25 virtual ~PPB_URLRequestInfo_Proxy(); |
26 | 26 |
(...skipping 15 matching lines...) Expand all Loading... |
42 void OnMsgAppendFileToBody(ppapi::HostResource request, | 42 void OnMsgAppendFileToBody(ppapi::HostResource request, |
43 ppapi::HostResource file_ref, | 43 ppapi::HostResource file_ref, |
44 int64_t start_offset, | 44 int64_t start_offset, |
45 int64_t number_of_bytes, | 45 int64_t number_of_bytes, |
46 double expected_last_modified_time); | 46 double expected_last_modified_time); |
47 | 47 |
48 DISALLOW_COPY_AND_ASSIGN(PPB_URLRequestInfo_Proxy); | 48 DISALLOW_COPY_AND_ASSIGN(PPB_URLRequestInfo_Proxy); |
49 }; | 49 }; |
50 | 50 |
51 } // namespace proxy | 51 } // namespace proxy |
52 } // namespace pp | 52 } // namespace ppapi |
53 | 53 |
54 #endif // PPAPI_PROXY_PPB_URL_REQUEST_INFO_PROXY_H_ | 54 #endif // PPAPI_PROXY_PPB_URL_REQUEST_INFO_PROXY_H_ |
OLD | NEW |