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

Unified Diff: chrome/browser/net/file_downloader.cc

Issue 2421333002: Protobuf for Traffic Annotation and first use by a URLFetcher. (Closed)
Patch Set: Comments addressed. Created 3 years, 11 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/net/file_downloader.cc
diff --git a/chrome/browser/net/file_downloader.cc b/chrome/browser/net/file_downloader.cc
index aa57047b7c2f62bbe5d959df52aacae95f794c74..9a66e21d03e9a730e8f6f5c7563029423bca8dea 100644
--- a/chrome/browser/net/file_downloader.cc
+++ b/chrome/browser/net/file_downloader.cc
@@ -25,7 +25,10 @@ FileDownloader::FileDownloader(const GURL& url,
net::URLRequestContextGetter* request_context,
const DownloadFinishedCallback& callback)
: callback_(callback),
- fetcher_(URLFetcher::Create(url, URLFetcher::GET, this)),
+ fetcher_(URLFetcher::Create(url,
+ URLFetcher::GET,
+ this,
+ NO_TRAFFIC_ANNOTATION_YET)),
local_path_(path),
weak_ptr_factory_(this) {
fetcher_->SetRequestContext(request_context);

Powered by Google App Engine
This is Rietveld 408576698