Rename select-certificate to select-client-certificate

This commit is contained in:
Cheng Zhao 2015-11-18 10:10:21 +08:00
parent 9a0dc3bfd7
commit 341341bf28
3 changed files with 4 additions and 3 deletions

View file

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

View file

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