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

Unified Diff: content/browser/background_fetch/background_fetch_test_base.cc

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/background_fetch/background_fetch_test_base.cc
diff --git a/content/browser/background_fetch/background_fetch_test_base.cc b/content/browser/background_fetch/background_fetch_test_base.cc
index 9314f19e96e0d83b7c51618bc1d88b115e0d4e58..f925c748685a397aa5958cb30a8269a274b218fe 100644
--- a/content/browser/background_fetch/background_fetch_test_base.cc
+++ b/content/browser/background_fetch/background_fetch_test_base.cc
@@ -125,7 +125,9 @@ class BackgroundFetchTestBase::RespondingDownloadManager
// Called when the Background Fetch system starts a download, all information
// for which is contained in the |params|.
- void DownloadUrl(std::unique_ptr<DownloadUrlParameters> params) override {
+ void DownloadUrl(
+ std::unique_ptr<DownloadUrlParameters> params,
+ const net::NetworkTrafficAnnotationTag& traffic_annotation) override {
auto iter = registered_responses_.find(params->url());
if (iter == registered_responses_.end())
return;

Powered by Google App Engine
This is Rietveld 408576698