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

Unified Diff: content/public/browser/download_manager.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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/test/mock_download_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/download_manager.h
diff --git a/content/public/browser/download_manager.h b/content/public/browser/download_manager.h
index f6080fe5df2fa375ec65a05787eac3c6a881163d..038195b894e1f7d762348b7f41c6090b72f15fb6 100644
--- a/content/public/browser/download_manager.h
+++ b/content/public/browser/download_manager.h
@@ -40,6 +40,7 @@
#include "content/public/browser/download_item.h"
#include "content/public/browser/download_url_parameters.h"
#include "net/base/net_errors.h"
+#include "net/traffic_annotation/network_traffic_annotation.h"
class GURL;
@@ -121,7 +122,8 @@ class CONTENT_EXPORT DownloadManager : public base::SupportsUserData::Data {
// See DownloadUrlParameters for details about controlling the download.
virtual void DownloadUrl(
- std::unique_ptr<DownloadUrlParameters> parameters) = 0;
+ std::unique_ptr<DownloadUrlParameters> parameters,
+ const net::NetworkTrafficAnnotationTag& traffic_annotation) = 0;
// Allow objects to observe the download creation process.
virtual void AddObserver(Observer* observer) = 0;
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/test/mock_download_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698