Network Traffic Annotation added to DownloadURLParams.

https://chromium-review.googlesource.com/c/530307
This commit is contained in:
Aleksei Kuzmin 2017-08-21 12:20:37 +03:00 committed by Cheng Zhao
parent e926473e5a
commit 7608a0489c
2 changed files with 2 additions and 2 deletions

View file

@ -1085,7 +1085,7 @@ void WebContents::DownloadURL(const GURL& url) {
download_manager->DownloadUrl( download_manager->DownloadUrl(
content::DownloadUrlParameters::CreateForWebContentsMainFrame( content::DownloadUrlParameters::CreateForWebContentsMainFrame(
web_contents(), url)); web_contents(), url, NO_TRAFFIC_ANNOTATION_YET));
} }
GURL WebContents::GetURL() const { GURL WebContents::GetURL() const {

View file

@ -81,7 +81,7 @@ void OnPdfResourceIntercepted(
download_manager->DownloadUrl( download_manager->DownloadUrl(
content::DownloadUrlParameters::CreateForWebContentsMainFrame( content::DownloadUrlParameters::CreateForWebContentsMainFrame(
web_contents, original_url)); web_contents, original_url, NO_TRAFFIC_ANNOTATION_YET));
return; return;
} }