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

Unified Diff: components/download/internal/download_driver.h

Issue 2860593003: Refactoring DownloadManager::DownloadURL to add proper annotation. (Closed)
Patch Set: Annotation moved to DownloadManager::DownloadUrl. 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: components/download/internal/download_driver.h
diff --git a/components/download/internal/download_driver.h b/components/download/internal/download_driver.h
index 88247d18d5d0ba8f7e2f8184346dcee5e6765599..2d213b225d38ba130c0016beff25ea78aa9a50aa 100644
--- a/components/download/internal/download_driver.h
+++ b/components/download/internal/download_driver.h
@@ -9,6 +9,7 @@
#include "base/optional.h"
#include "components/download/internal/driver_entry.h"
+#include "net/traffic_annotation/network_traffic_annotation.h"
namespace base {
class FilePath;
@@ -55,7 +56,9 @@ class DownloadDriver {
virtual bool IsReady() const = 0;
// Starts a new download.
- virtual void Start(const DownloadParams& params) = 0;
+ virtual void Start(
+ const DownloadParams& params,
+ const net::NetworkTrafficAnnotationTag& traffic_annotation) = 0;
// Cancels an existing download, all data associated with this download should
// be removed.

Powered by Google App Engine
This is Rietveld 408576698