#include "content/public/browser/download_request_utils.h"
#include <memory>
#include "content/public/browser/browser_context.h"
#include "content/public/browser/child_process_security_policy.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/web_contents.h"
namespace content {
std::unique_ptr<download::DownloadUrlParameters>
DownloadRequestUtils::CreateDownloadForWebContentsMainFrame(
WebContents* web_contents,
const GURL& url,
const net::NetworkTrafficAnnotationTag& traffic_annotation) { … }
bool DownloadRequestUtils::IsURLSafe(int render_process_id, const GURL& url) { … }
}