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

Unified Diff: content/browser/download/drag_download_file.cc

Issue 2860593003: Refactoring DownloadManager::DownloadURL to add proper annotation. (Closed)
Patch Set: Comment addressed. Created 3 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: content/browser/download/drag_download_file.cc
diff --git a/content/browser/download/drag_download_file.cc b/content/browser/download/drag_download_file.cc
index 40c76535530b1e43d465b16c4bcdf1a0709c9516..88b159e9d9e45b4bd0116c350a3d5396e218509f 100644
--- a/content/browser/download/drag_download_file.cc
+++ b/content/browser/download/drag_download_file.cc
@@ -20,6 +20,7 @@
#include "content/public/browser/download_item.h"
#include "content/public/browser/download_save_info.h"
#include "content/public/browser/download_url_parameters.h"
+#include "net/traffic_annotation/network_traffic_annotation.h"
namespace content {
@@ -77,7 +78,7 @@ class DragDownloadFile::DragDownloadFileUI : public DownloadItem::Observer {
params->set_file_path(file_path);
params->set_file(std::move(file)); // Nulls file.
BrowserContext::GetDownloadManager(web_contents_->GetBrowserContext())
- ->DownloadUrl(std::move(params));
+ ->DownloadUrl(std::move(params), NO_TRAFFIC_ANNOTATION_YET);
}
void Cancel() {
« no previous file with comments | « content/browser/download/download_worker.cc ('k') | content/browser/frame_host/render_frame_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698