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_RESPONSE_INFO_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_URL_RESPONSE_INFO_PROXY_H_ |
6 #define PPAPI_PROXY_PPB_URL_RESPONSE_INFO_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_URL_RESPONSE_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_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/proxy/interface_proxy.h" | 12 #include "ppapi/proxy/interface_proxy.h" |
13 #include "ppapi/shared_impl/host_resource.h" | 13 #include "ppapi/shared_impl/host_resource.h" |
14 | 14 |
15 struct PPB_URLResponseInfo; | 15 struct PPB_URLResponseInfo; |
16 | 16 |
17 namespace pp { | 17 namespace ppapi { |
18 namespace proxy { | 18 namespace proxy { |
19 | 19 |
20 struct PPBFileRef_CreateInfo; | 20 struct PPBFileRef_CreateInfo; |
21 class SerializedVarReturnValue; | 21 class SerializedVarReturnValue; |
22 | 22 |
23 class PPB_URLResponseInfo_Proxy : public InterfaceProxy { | 23 class PPB_URLResponseInfo_Proxy : public InterfaceProxy { |
24 public: | 24 public: |
25 PPB_URLResponseInfo_Proxy(Dispatcher* dispatcher, | 25 PPB_URLResponseInfo_Proxy(Dispatcher* dispatcher, |
26 const void* target_interface); | 26 const void* target_interface); |
27 virtual ~PPB_URLResponseInfo_Proxy(); | 27 virtual ~PPB_URLResponseInfo_Proxy(); |
(...skipping 16 matching lines...) Expand all Loading... |
44 void OnMsgGetProperty(const ppapi::HostResource& response, | 44 void OnMsgGetProperty(const ppapi::HostResource& response, |
45 int32_t property, | 45 int32_t property, |
46 SerializedVarReturnValue result); | 46 SerializedVarReturnValue result); |
47 void OnMsgGetBodyAsFileRef(const ppapi::HostResource& response, | 47 void OnMsgGetBodyAsFileRef(const ppapi::HostResource& response, |
48 PPBFileRef_CreateInfo* result); | 48 PPBFileRef_CreateInfo* result); |
49 | 49 |
50 DISALLOW_COPY_AND_ASSIGN(PPB_URLResponseInfo_Proxy); | 50 DISALLOW_COPY_AND_ASSIGN(PPB_URLResponseInfo_Proxy); |
51 }; | 51 }; |
52 | 52 |
53 } // namespace proxy | 53 } // namespace proxy |
54 } // namespace pp | 54 } // namespace ppapi |
55 | 55 |
56 #endif // PPAPI_PROXY_PPB_URL_RESPONSE_INFO_PROXY_H_ | 56 #endif // PPAPI_PROXY_PPB_URL_RESPONSE_INFO_PROXY_H_ |
OLD | NEW |