Chromium Code Reviews| Index: chrome/browser/download/download_item.h |
| =================================================================== |
| --- chrome/browser/download/download_item.h (revision 71082) |
| +++ chrome/browser/download/download_item.h (working copy) |
| @@ -188,6 +188,7 @@ |
| FilePath full_path() const { return full_path_; } |
| void set_path_uniquifier(int uniquifier) { path_uniquifier_ = uniquifier; } |
| GURL url() const { return url_; } |
| + GURL original_url() const { return original_url_; } |
|
Paweł Hajdan Jr.
2011/01/13 08:47:59
We try to avoid adding more accessors like this on
Randy Smith (Not in Mondays)
2011/01/14 19:43:21
It's sorta like the difference between structures
|
| GURL referrer_url() const { return referrer_url_; } |
| std::string mime_type() const { return mime_type_; } |
| std::string original_mime_type() const { return original_mime_type_; } |
| @@ -259,6 +260,9 @@ |
| // The URL from whence we came. |
| GURL url_; |
| + // The original URL before any redirection. |
|
Paweł Hajdan Jr.
2011/01/13 08:47:59
Now we have three URLs, and it's super-easy to con
Randy Smith (Not in Mondays)
2011/01/14 19:43:21
I agree with this. I'd suggest changing the doc o
|
| + GURL original_url_; |
| + |
| // The URL of the page that initiated the download. |
| GURL referrer_url_; |