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

Unified Diff: components/download/content/download_driver_impl.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/content/download_driver_impl.h
diff --git a/components/download/content/download_driver_impl.h b/components/download/content/download_driver_impl.h
index c7c5b1ce1b2a66e07658cd9224b7633270fe040c..bc3c8074d653b855572cc2b4379ef3305fd38eea 100644
--- a/components/download/content/download_driver_impl.h
+++ b/components/download/content/download_driver_impl.h
@@ -12,6 +12,7 @@
#include "components/download/public/download_params.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/download_manager.h"
+#include "net/traffic_annotation/network_traffic_annotation.h"
namespace download {
@@ -34,7 +35,9 @@ class DownloadDriverImpl : public DownloadDriver,
// DownloadDriver implementation.
void Initialize(DownloadDriver::Client* client) override;
bool IsReady() const override;
- void Start(const DownloadParams& params) override;
+ void Start(
+ const DownloadParams& params,
+ const net::NetworkTrafficAnnotationTag& traffic_annotation) override;
void Cancel(const std::string& guid) override;
void Pause(const std::string& guid) override;
void Resume(const std::string& guid) override;
« no previous file with comments | « chrome/browser/renderer_context_menu/render_view_context_menu.cc ('k') | components/download/content/download_driver_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698