| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 std::string original_mime_type; | 103 std::string original_mime_type; |
| 104 | 104 |
| 105 // For continuing a download, the modification time of the file. | 105 // For continuing a download, the modification time of the file. |
| 106 // Storing as a string for exact match to server format on | 106 // Storing as a string for exact match to server format on |
| 107 // "If-Unmodified-Since" comparison. | 107 // "If-Unmodified-Since" comparison. |
| 108 std::string last_modified; | 108 std::string last_modified; |
| 109 | 109 |
| 110 // For continuing a download, the ETag of the file. | 110 // For continuing a download, the ETag of the file. |
| 111 std::string etag; | 111 std::string etag; |
| 112 | 112 |
| 113 // If "Accept-Ranges:bytes" header presents in the response header. |
| 114 bool accept_range; |
| 115 |
| 113 private: | 116 private: |
| 114 DISALLOW_COPY_AND_ASSIGN(DownloadCreateInfo); | 117 DISALLOW_COPY_AND_ASSIGN(DownloadCreateInfo); |
| 115 }; | 118 }; |
| 116 | 119 |
| 117 } // namespace content | 120 } // namespace content |
| 118 | 121 |
| 119 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_CREATE_INFO_H_ | 122 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_CREATE_INFO_H_ |
| OLD | NEW |