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

Unified Diff: chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.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: chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.cc
diff --git a/chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.cc b/chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.cc
index 02ef92b7c7f3ab5f79f4f8fc9916edde30886cd0..ab5c97918e6bbb99e188892754c638a28e1aa1cd 100644
--- a/chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.cc
+++ b/chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.cc
@@ -34,6 +34,7 @@
#include "content/public/browser/web_contents.h"
#include "jni/OfflinePageDownloadBridge_jni.h"
#include "net/base/filename_util.h"
+#include "net/traffic_annotation/network_traffic_annotation.h"
#include "url/gurl.h"
using base::android::AttachCurrentThread;
@@ -367,7 +368,7 @@ void OfflinePageDownloadBridge::StartDownload(
dl_params->set_prefer_cache(true);
dl_params->set_prompt(false);
- dlm->DownloadUrl(std::move(dl_params));
+ dlm->DownloadUrl(std::move(dl_params), NO_TRAFFIC_ANNOTATION_YET);
return;
}
« no previous file with comments | « chrome/browser/android/download/download_controller.cc ('k') | chrome/browser/download/download_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698