Make the realm parameter to GetAuthCredentials() optional (issue #355).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@425 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2011-12-16 13:50:15 +00:00
parent ef19285349
commit 9fadd1724f
3 changed files with 3 additions and 9 deletions

View File

@ -326,10 +326,6 @@ int CEF_CALLBACK request_handler_get_auth_credentials(
DCHECK(host);
if (!host)
return 0;
// Verify param: realm; type: string_byref_const
DCHECK(realm);
if (!realm)
return 0;
// Verify param: scheme; type: string_byref_const
DCHECK(scheme);
if (!scheme)
@ -342,6 +338,7 @@ int CEF_CALLBACK request_handler_get_auth_credentials(
DCHECK(password);
if (!password)
return 0;
// Unverified params: realm
// Translate param: username; type: string_byref
CefString usernameStr(username);