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

Unified Diff: components/history/core/browser/download_row.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 side-by-side diff with in-line comments
Download patch
Index: components/history/core/browser/download_row.h
diff --git a/components/history/core/browser/download_row.h b/components/history/core/browser/download_row.h
index d1a6214e42c8df9a20436c4be7f533230e4b1d60..a14ed7c842c64c856ca0f0451908c41468960fb0 100644
--- a/components/history/core/browser/download_row.h
+++ b/components/history/core/browser/download_row.h
@@ -26,6 +26,7 @@ struct DownloadRow {
const base::FilePath& target_path,
const std::vector<GURL>& url_chain,
const GURL& referrer_url,
+ const GURL& site_url,
const GURL& tab_url,
const GURL& tab_referrer_url,
const std::string& http_method,
@@ -67,6 +68,9 @@ struct DownloadRow {
// The URL that referred us. Is not changed by UpdateDownload().
GURL referrer_url;
+ // The site URL for the site instance that initiated the download.
+ GURL site_url;
+
// The URL of the tab that initiated the download, if any. Not changed by
// UpdateDownload().
GURL tab_url;
« no previous file with comments | « components/history/core/browser/download_database.cc ('k') | components/history/core/browser/download_row.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698