mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Network Traffic Annotation added to DownloadURLParams.
https://chromium-review.googlesource.com/c/530307
This commit is contained in:
committed by
Cheng Zhao
parent
e926473e5a
commit
7608a0489c
@@ -1085,7 +1085,7 @@ void WebContents::DownloadURL(const GURL& url) {
|
||||
|
||||
download_manager->DownloadUrl(
|
||||
content::DownloadUrlParameters::CreateForWebContentsMainFrame(
|
||||
web_contents(), url));
|
||||
web_contents(), url, NO_TRAFFIC_ANNOTATION_YET));
|
||||
}
|
||||
|
||||
GURL WebContents::GetURL() const {
|
||||
|
||||
@@ -81,7 +81,7 @@ void OnPdfResourceIntercepted(
|
||||
|
||||
download_manager->DownloadUrl(
|
||||
content::DownloadUrlParameters::CreateForWebContentsMainFrame(
|
||||
web_contents, original_url));
|
||||
web_contents, original_url, NO_TRAFFIC_ANNOTATION_YET));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user