Network Traffic Annotation added to DownloadURLParams.
https://chromium-review.googlesource.com/c/530307
This commit is contained in:
parent
e926473e5a
commit
7608a0489c
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue