Chromium Code Reviews| 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 28 matching lines...) Expand all Loading... | |
| 39 | 39 | 
| 40 // The ID of the download. | 40 // The ID of the download. | 
| 41 uint32_t download_id; | 41 uint32_t download_id; | 
| 42 | 42 | 
| 43 // The chain of redirects that leading up to and including the final URL. | 43 // The chain of redirects that leading up to and including the final URL. | 
| 44 std::vector<GURL> url_chain; | 44 std::vector<GURL> url_chain; | 
| 45 | 45 | 
| 46 // The URL that referred us. | 46 // The URL that referred us. | 
| 47 GURL referrer_url; | 47 GURL referrer_url; | 
| 48 | 48 | 
| 49 // Site URL for the site instance that initiated the download. | |
| 50 GURL site_instance_url; | |
| 
 
Charlie Reis
2016/05/05 21:43:22
site_url
(See explanation in download_item.h.)
 
 | |
| 51 | |
| 49 // The URL of the tab that started us. | 52 // The URL of the tab that started us. | 
| 50 GURL tab_url; | 53 GURL tab_url; | 
| 51 | 54 | 
| 52 // The referrer URL of the tab that started us. | 55 // The referrer URL of the tab that started us. | 
| 53 GURL tab_referrer_url; | 56 GURL tab_referrer_url; | 
| 54 | 57 | 
| 55 // The time when the download started. | 58 // The time when the download started. | 
| 56 base::Time start_time; | 59 base::Time start_time; | 
| 57 | 60 | 
| 58 // The total download size. | 61 // The total download size. | 
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 106 // For continuing a download, the ETag of the file. | 109 // For continuing a download, the ETag of the file. | 
| 107 std::string etag; | 110 std::string etag; | 
| 108 | 111 | 
| 109 private: | 112 private: | 
| 110 DISALLOW_COPY_AND_ASSIGN(DownloadCreateInfo); | 113 DISALLOW_COPY_AND_ASSIGN(DownloadCreateInfo); | 
| 111 }; | 114 }; | 
| 112 | 115 | 
| 113 } // namespace content | 116 } // namespace content | 
| 114 | 117 | 
| 115 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_CREATE_INFO_H_ | 118 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_CREATE_INFO_H_ | 
| OLD | NEW |