extra parameters to BrowserClient::HandleExternalProtocol
https://chromium-review.googlesource.com/c/1318976
This commit is contained in:
parent
96f9611cf4
commit
70887ae21a
2 changed files with 6 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue