parent
47d5f9f901
commit
e44b5263a1
2 changed files with 6 additions and 2 deletions
|
@ -830,7 +830,9 @@ bool AtomBrowserClient::HandleExternalProtocol(
|
||||||
ui::PageTransition page_transition,
|
ui::PageTransition page_transition,
|
||||||
bool has_user_gesture,
|
bool has_user_gesture,
|
||||||
const std::string& method,
|
const std::string& method,
|
||||||
const net::HttpRequestHeaders& headers) {
|
const net::HttpRequestHeaders& headers,
|
||||||
|
network::mojom::URLLoaderFactoryRequest* factory_request,
|
||||||
|
network::mojom::URLLoaderFactory*& out_factory) {
|
||||||
base::PostTaskWithTraits(
|
base::PostTaskWithTraits(
|
||||||
FROM_HERE, {BrowserThread::UI},
|
FROM_HERE, {BrowserThread::UI},
|
||||||
base::BindOnce(&HandleExternalProtocolInUI, url, web_contents_getter,
|
base::BindOnce(&HandleExternalProtocolInUI, url, web_contents_getter,
|
||||||
|
|
|
@ -172,7 +172,9 @@ class AtomBrowserClient : public content::ContentBrowserClient,
|
||||||
ui::PageTransition page_transition,
|
ui::PageTransition page_transition,
|
||||||
bool has_user_gesture,
|
bool has_user_gesture,
|
||||||
const std::string& method,
|
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:
|
private:
|
||||||
struct ProcessPreferences {
|
struct ProcessPreferences {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue