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 27b892bb016b2670266a0c7c6ce40fd1e95cb41a..45367857297c8a488bc8a191d6b50d5971862afc 100644 |
--- a/net/http/http_auth_handler_basic.cc |
+++ b/net/http/http_auth_handler_basic.cc |
@@ -13,6 +13,7 @@ |
#include "net/base/net_string_util.h" |
#include "net/http/http_auth.h" |
#include "net/http/http_auth_challenge_tokenizer.h" |
+#include "net/http/http_auth_scheme.h" |
namespace net { |
@@ -62,7 +63,7 @@ bool HttpAuthHandlerBasic::Init(HttpAuthChallengeTokenizer* challenge) { |
bool HttpAuthHandlerBasic::ParseChallenge( |
HttpAuthChallengeTokenizer* challenge) { |
// Verify the challenge's auth-scheme. |
- if (!base::LowerCaseEqualsASCII(challenge->scheme(), "basic")) |
+ if (!base::LowerCaseEqualsASCII(challenge->scheme(), kBasicAuthScheme)) |
return false; |
std::string realm; |