| 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 CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_CREATE_INFO_H_ | 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_CREATE_INFO_H_ |
| 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_CREATE_INFO_H_ | 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_CREATE_INFO_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 | 129 |
| 130 // For continuing a download, the ETag of the file. | 130 // For continuing a download, the ETag of the file. |
| 131 std::string etag; | 131 std::string etag; |
| 132 | 132 |
| 133 // If "Accept-Ranges:bytes" header presents in the response header. | 133 // If "Accept-Ranges:bytes" header presents in the response header. |
| 134 bool accept_range; | 134 bool accept_range; |
| 135 | 135 |
| 136 // The HTTP connection type. | 136 // The HTTP connection type. |
| 137 net::HttpResponseInfo::ConnectionInfo connection_info; | 137 net::HttpResponseInfo::ConnectionInfo connection_info; |
| 138 | 138 |
| 139 // The HTTP request method. |
| 140 std::string method; |
| 141 |
| 139 private: | 142 private: |
| 140 DISALLOW_COPY_AND_ASSIGN(DownloadCreateInfo); | 143 DISALLOW_COPY_AND_ASSIGN(DownloadCreateInfo); |
| 141 }; | 144 }; |
| 142 | 145 |
| 143 } // namespace content | 146 } // namespace content |
| 144 | 147 |
| 145 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_CREATE_INFO_H_ | 148 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_CREATE_INFO_H_ |
| OLD | NEW |