| Index: trunk/src/net/http/http_auth_handler_basic.cc
|
| ===================================================================
|
| --- trunk/src/net/http/http_auth_handler_basic.cc (revision 239942)
|
| +++ trunk/src/net/http/http_auth_handler_basic.cc (working copy)
|
| @@ -91,13 +91,9 @@
|
| DCHECK(credentials);
|
| // TODO(eroman): is this the right encoding of username/password?
|
| std::string base64_username_password;
|
| - if (!base::Base64Encode(
|
| - UTF16ToUTF8(credentials->username()) + ":" +
|
| - UTF16ToUTF8(credentials->password()),
|
| - &base64_username_password)) {
|
| - LOG(ERROR) << "Unexpected problem Base64 encoding.";
|
| - return ERR_UNEXPECTED;
|
| - }
|
| + base::Base64Encode(UTF16ToUTF8(credentials->username()) + ":" +
|
| + UTF16ToUTF8(credentials->password()),
|
| + &base64_username_password);
|
| *auth_token = "Basic " + base64_username_password;
|
| return OK;
|
| }
|
|
|