add extra arguments to HandleExternalProtocol

https://chromium-review.googlesource.com/c/chromium/src/+/1491812
This commit is contained in:
Jeremy Apthorp 2019-03-21 18:19:16 -07:00 committed by Samuel Attard
parent 47d5f9f901
commit e44b5263a1
2 changed files with 6 additions and 2 deletions

View file

@ -830,7 +830,9 @@ bool AtomBrowserClient::HandleExternalProtocol(
ui::PageTransition page_transition,
bool has_user_gesture,
const std::string& method,
const net::HttpRequestHeaders& headers) {
const net::HttpRequestHeaders& headers,
network::mojom::URLLoaderFactoryRequest* factory_request,
network::mojom::URLLoaderFactory*& out_factory) {
base::PostTaskWithTraits(
FROM_HERE, {BrowserThread::UI},
base::BindOnce(&HandleExternalProtocolInUI, url, web_contents_getter,

View file

@ -172,7 +172,9 @@ class AtomBrowserClient : public content::ContentBrowserClient,
ui::PageTransition page_transition,
bool has_user_gesture,
const std::string& method,
const net::HttpRequestHeaders& headers) override;
const net::HttpRequestHeaders& headers,
network::mojom::URLLoaderFactoryRequest* factory_request,
network::mojom::URLLoaderFactory*& out_factory) override;
private:
struct ProcessPreferences {