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 CHROME_FRAME_PLUGIN_URL_REQUEST_H_ | 5 #ifndef CHROME_FRAME_PLUGIN_URL_REQUEST_H_ |
6 #define CHROME_FRAME_PLUGIN_URL_REQUEST_H_ | 6 #define CHROME_FRAME_PLUGIN_URL_REQUEST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/scoped_comptr_win.h" | |
13 #include "base/time.h" | 12 #include "base/time.h" |
| 13 #include "base/win/scoped_comptr.h" |
14 #include "chrome_frame/chrome_frame_delegate.h" | 14 #include "chrome_frame/chrome_frame_delegate.h" |
15 #include "chrome_frame/urlmon_upload_data_stream.h" | 15 #include "chrome_frame/urlmon_upload_data_stream.h" |
16 #include "ipc/ipc_message.h" | 16 #include "ipc/ipc_message.h" |
17 #include "net/base/host_port_pair.h" | 17 #include "net/base/host_port_pair.h" |
18 #include "net/base/upload_data.h" | 18 #include "net/base/upload_data.h" |
19 #include "net/url_request/url_request_status.h" | 19 #include "net/url_request/url_request_status.h" |
20 #include "webkit/glue/resource_type.h" | 20 #include "webkit/glue/resource_type.h" |
21 | 21 |
22 class PluginUrlRequest; | 22 class PluginUrlRequest; |
23 class PluginUrlRequestDelegate; | 23 class PluginUrlRequestDelegate; |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 179 |
180 PluginUrlRequestDelegate* delegate_; | 180 PluginUrlRequestDelegate* delegate_; |
181 int remote_request_id_; | 181 int remote_request_id_; |
182 uint64 post_data_len_; | 182 uint64 post_data_len_; |
183 std::string url_; | 183 std::string url_; |
184 std::string method_; | 184 std::string method_; |
185 std::string referrer_; | 185 std::string referrer_; |
186 std::string extra_headers_; | 186 std::string extra_headers_; |
187 ResourceType::Type resource_type_; | 187 ResourceType::Type resource_type_; |
188 int load_flags_; | 188 int load_flags_; |
189 ScopedComPtr<IStream> upload_data_; | 189 base::win::ScopedComPtr<IStream> upload_data_; |
190 bool is_chunked_upload_; | 190 bool is_chunked_upload_; |
191 // Contains the ip address and port of the destination host. | 191 // Contains the ip address and port of the destination host. |
192 net::HostPortPair socket_address_; | 192 net::HostPortPair socket_address_; |
193 }; | 193 }; |
194 | 194 |
195 #endif // CHROME_FRAME_PLUGIN_URL_REQUEST_H_ | 195 #endif // CHROME_FRAME_PLUGIN_URL_REQUEST_H_ |
OLD | NEW |