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

Unified Diff: content/browser/download/download_request_core.h

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/download_request_core.h
diff --git a/content/browser/download/download_request_core.h b/content/browser/download/download_request_core.h
index fc2ccd2ea085e17925fb5d64c03e2739392533c9..e2a9f802443e7d44c5b38b15dd654eceadd7ee4d 100644
--- a/content/browser/download/download_request_core.h
+++ b/content/browser/download/download_request_core.h
@@ -19,6 +19,7 @@
#include "content/public/browser/download_save_info.h"
#include "content/public/browser/download_url_parameters.h"
#include "device/wake_lock/public/interfaces/wake_lock_service.mojom.h"
+#include "net/traffic_annotation/network_traffic_annotation.h"
namespace net {
class HttpResponseHeaders;
@@ -105,7 +106,8 @@ class CONTENT_EXPORT DownloadRequestCore
static std::unique_ptr<net::URLRequest> CreateRequestOnIOThread(
uint32_t download_id,
- DownloadUrlParameters* params);
+ DownloadUrlParameters* params,
+ const net::NetworkTrafficAnnotationTag& traffic_annotation);
// Size of the buffer used between the DownloadRequestCore and the
// downstream receiver of its output.
« no previous file with comments | « content/browser/download/download_manager_impl.cc ('k') | content/browser/download/download_request_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698