extra parameters to BrowserClient::HandleExternalProtocol

https://chromium-review.googlesource.com/c/1318976
This commit is contained in:
Jeremy Apthorp 2019-01-09 12:18:07 -08:00
parent 96f9611cf4
commit 70887ae21a
2 changed files with 6 additions and 2 deletions

View file

@ -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,

View file

@ -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 {