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

Unified Diff: components/download/internal/download_driver.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: components/download/internal/download_driver.h
diff --git a/components/download/internal/download_driver.h b/components/download/internal/download_driver.h
index 3c8380708761f8fae456c6977b523189b1d1f9a2..704233ecdaec9032482b1966c509c553a7d23168 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;
@@ -57,7 +58,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.
« no previous file with comments | « components/download/content/download_driver_impl.cc ('k') | components/download/internal/test/test_download_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698