| Index: net/http/http_auth_handler_basic.cc
|
| diff --git a/net/http/http_auth_handler_basic.cc b/net/http/http_auth_handler_basic.cc
|
| index eace1dfa4d1e08c02905e2ad771358868255d9e0..bfe9c225338dbfce25e4251ddb64464e80b987b6 100644
|
| --- a/net/http/http_auth_handler_basic.cc
|
| +++ b/net/http/http_auth_handler_basic.cc
|
| @@ -80,14 +80,15 @@ HttpAuth::AuthorizationResult HttpAuthHandlerBasic::HandleAnotherChallenge(
|
| std::string realm;
|
| if (!ParseRealm(*challenge, &realm))
|
| return HttpAuth::AUTHORIZATION_RESULT_INVALID;
|
| - return (realm_ != realm)?
|
| - HttpAuth::AUTHORIZATION_RESULT_DIFFERENT_REALM:
|
| - HttpAuth::AUTHORIZATION_RESULT_REJECT;
|
| + return (realm_ != realm) ? HttpAuth::AUTHORIZATION_RESULT_DIFFERENT_REALM
|
| + : HttpAuth::AUTHORIZATION_RESULT_REJECT;
|
| }
|
|
|
| int HttpAuthHandlerBasic::GenerateAuthTokenImpl(
|
| - const AuthCredentials* credentials, const HttpRequestInfo*,
|
| - const CompletionCallback&, std::string* auth_token) {
|
| + const AuthCredentials* credentials,
|
| + const HttpRequestInfo*,
|
| + const CompletionCallback&,
|
| + std::string* auth_token) {
|
| DCHECK(credentials);
|
| // TODO(eroman): is this the right encoding of username/password?
|
| std::string base64_username_password;
|
|
|