From 70887ae21a6709bc6a76f6ad8f508749bd980ad4 Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Wed, 9 Jan 2019 12:18:07 -0800 Subject: [PATCH] extra parameters to BrowserClient::HandleExternalProtocol https://chromium-review.googlesource.com/c/1318976 --- atom/browser/atom_browser_client.cc | 4 +++- atom/browser/atom_browser_client.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/atom/browser/atom_browser_client.cc b/atom/browser/atom_browser_client.cc index 69bf39013991..1e55d47118ca 100644 --- a/atom/browser/atom_browser_client.cc +++ b/atom/browser/atom_browser_client.cc @@ -804,7 +804,9 @@ bool AtomBrowserClient::HandleExternalProtocol( content::NavigationUIData* navigation_data, bool is_main_frame, ui::PageTransition page_transition, - bool has_user_gesture) { + bool has_user_gesture, + const std::string& method, + const net::HttpRequestHeaders& headers) { base::PostTaskWithTraits( FROM_HERE, {BrowserThread::UI}, base::BindOnce(&HandleExternalProtocolInUI, url, web_contents_getter, diff --git a/atom/browser/atom_browser_client.h b/atom/browser/atom_browser_client.h index 178780855bf1..57faff59d8d3 100644 --- a/atom/browser/atom_browser_client.h +++ b/atom/browser/atom_browser_client.h @@ -167,7 +167,9 @@ class AtomBrowserClient : public content::ContentBrowserClient, content::NavigationUIData* navigation_data, bool is_main_frame, ui::PageTransition page_transition, - bool has_user_gesture) override; + bool has_user_gesture, + const std::string& method, + const net::HttpRequestHeaders& headers) override; private: struct ProcessPreferences {