| Index: net/http/http_auth_controller.cc
|
| diff --git a/net/http/http_auth_controller.cc b/net/http/http_auth_controller.cc
|
| index c077ee84d5cdbbc8e3c0c41241f4b23bed45153f..726c18267b15c89150ae8484aedda5e4de1669c3 100644
|
| --- a/net/http/http_auth_controller.cc
|
| +++ b/net/http/http_auth_controller.cc
|
| @@ -219,8 +219,8 @@ int HttpAuthController::HandleAuthChallenge(
|
| return OK;
|
| }
|
|
|
| -void HttpAuthController::ResetAuth(const std::wstring& username,
|
| - const std::wstring& password) {
|
| +void HttpAuthController::SetCredentials(const std::wstring& username,
|
| + const std::wstring& password) {
|
| DCHECK(identity_.invalid || (username.empty() && password.empty()));
|
|
|
| if (identity_.invalid) {
|
| @@ -230,7 +230,9 @@ void HttpAuthController::ResetAuth(const std::wstring& username,
|
| identity_.username = username;
|
| identity_.password = password;
|
| }
|
| +}
|
|
|
| +void HttpAuthController::PrepareForAuthRestart() {
|
| DCHECK(identity_.source != HttpAuth::IDENT_SRC_PATH_LOOKUP);
|
|
|
| // Add the auth entry to the cache before restarting. We don't know whether
|
|
|