Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: content/browser/download/download_create_info.h

Issue 1924473003: [Downloads] Use the initiating StoragePartition for resumption. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo in comment Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_url;
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
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_
OLDNEW
« no previous file with comments | « content/browser/download/download_browsertest.cc ('k') | content/browser/download/download_item_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698