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/time/time.h" | 12 #include "base/time/time.h" |
13 #include "base/win/scoped_comptr.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/common/resource_type.h" |
21 | 21 |
22 class PluginUrlRequest; | 22 class PluginUrlRequest; |
23 class PluginUrlRequestDelegate; | 23 class PluginUrlRequestDelegate; |
24 class PluginUrlRequestManager; | 24 class PluginUrlRequestManager; |
25 | 25 |
26 class DECLSPEC_NOVTABLE PluginUrlRequestDelegate { // NOLINT | 26 class DECLSPEC_NOVTABLE PluginUrlRequestDelegate { // NOLINT |
27 public: | 27 public: |
28 virtual void OnResponseStarted( | 28 virtual void OnResponseStarted( |
29 int request_id, const char* mime_type, const char* headers, int size, | 29 int request_id, const char* mime_type, const char* headers, int size, |
30 base::Time last_modified, const std::string& redirect_url, | 30 base::Time last_modified, const std::string& redirect_url, |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 std::string extra_headers_; | 182 std::string extra_headers_; |
183 ResourceType::Type resource_type_; | 183 ResourceType::Type resource_type_; |
184 int load_flags_; | 184 int load_flags_; |
185 base::win::ScopedComPtr<IStream> upload_data_; | 185 base::win::ScopedComPtr<IStream> upload_data_; |
186 bool is_chunked_upload_; | 186 bool is_chunked_upload_; |
187 // Contains the ip address and port of the destination host. | 187 // Contains the ip address and port of the destination host. |
188 net::HostPortPair socket_address_; | 188 net::HostPortPair socket_address_; |
189 }; | 189 }; |
190 | 190 |
191 #endif // CHROME_FRAME_PLUGIN_URL_REQUEST_H_ | 191 #endif // CHROME_FRAME_PLUGIN_URL_REQUEST_H_ |
OLD | NEW |