Rename select-certificate to select-client-certificate
This commit is contained in:
parent
9a0dc3bfd7
commit
341341bf28
3 changed files with 4 additions and 3 deletions
|
@ -247,7 +247,7 @@ void App::SelectClientCertificate(
|
|||
std::shared_ptr<content::ClientCertificateDelegate>
|
||||
shared_delegate(delegate.release());
|
||||
bool prevent_default =
|
||||
Emit("select-certificate",
|
||||
Emit("select-client-certificate",
|
||||
api::WebContents::CreateFrom(isolate(), web_contents),
|
||||
cert_request_info->host_and_port.ToString(),
|
||||
cert_request_info->client_certs,
|
||||
|
|
|
@ -52,6 +52,7 @@ deprecate.event app, 'finish-launching', 'ready', ->
|
|||
@emit 'finish-launching'
|
||||
deprecate.event app, 'activate-with-no-open-windows', 'activate', (event, hasVisibleWindows) ->
|
||||
@emit 'activate-with-no-open-windows' if not hasVisibleWindows
|
||||
deprecate.event app, 'select-certificate', 'select-client-certificate'
|
||||
|
||||
# Wrappers for native classes.
|
||||
wrapSession = (session) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue