Commit b28a6145 authored by Marshall Greenblatt's avatar Marshall Greenblatt

Make the CefAuthCallback::Continue password parameter optional (issue #1928)

parent 7a02419c
......@@ -50,7 +50,7 @@ class CefAuthCallback : public virtual CefBaseRefCounted {
///
// Continue the authentication request.
///
/*--cef(capi_name=cont)--*/
/*--cef(capi_name=cont,optional_param=password)--*/
virtual void Continue(const CefString& username,
const CefString& password) =0;
......
......@@ -28,10 +28,7 @@ void CEF_CALLBACK auth_callback_cont(struct _cef_auth_callback_t* self,
DCHECK(username);
if (!username)
return;
// Verify param: password; type: string_byref_const
DCHECK(password);
if (!password)
return;
// Unverified params: password
// Execute
CefAuthCallbackCppToC::Get(self)->Continue(
......
......@@ -27,10 +27,7 @@ void CefAuthCallbackCToCpp::Continue(const CefString& username,
DCHECK(!username.empty());
if (username.empty())
return;
// Verify param: password; type: string_byref_const
DCHECK(!password.empty());
if (password.empty())
return;
// Unverified params: password
// Execute
_struct->cont(_struct,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment