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

Unified Diff: chrome/browser/history/download_row.cc

Issue 319703002: Add mime type information to the download database (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix DownloadUIController_HistoryDownload test failure Created 6 years, 6 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
« no previous file with comments | « chrome/browser/history/download_row.h ('k') | chrome/browser/history/history_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/download_row.cc
diff --git a/chrome/browser/history/download_row.cc b/chrome/browser/history/download_row.cc
index fe44c13008c0b1d1a16d2880fff0c6eebeb66fe1..6621dac6dfb8961a918073d8124f0cf971ed9a81 100644
--- a/chrome/browser/history/download_row.cc
+++ b/chrome/browser/history/download_row.cc
@@ -21,6 +21,8 @@ DownloadRow::DownloadRow(
const base::FilePath& target_path,
const std::vector<GURL>& url_chain,
const GURL& referrer,
+ const std::string& mime_type,
+ const std::string& original_mime_type,
const base::Time& start,
const base::Time& end,
const std::string& etag,
@@ -38,6 +40,8 @@ DownloadRow::DownloadRow(
target_path(target_path),
url_chain(url_chain),
referrer_url(referrer),
+ mime_type(mime_type),
+ original_mime_type(original_mime_type),
start_time(start),
end_time(end),
etag(etag),
« no previous file with comments | « chrome/browser/history/download_row.h ('k') | chrome/browser/history/history_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698