Index: google_apis/gaia/fake_gaia.cc |
diff --git a/google_apis/gaia/fake_gaia.cc b/google_apis/gaia/fake_gaia.cc |
index 7c73dd8ac0475cf7e7f1ce4602822effc89c861a..2d3ff92761a91d5bdb351df6993b5e771763db6d 100644 |
--- a/google_apis/gaia/fake_gaia.cc |
+++ b/google_apis/gaia/fake_gaia.cc |
@@ -102,8 +102,8 @@ bool GetAccessToken(const HttpRequest& request, |
std::map<std::string, std::string>::const_iterator auth_header_entry = |
request.headers.find("Authorization"); |
if (auth_header_entry != request.headers.end()) { |
- if (base::StartsWithASCII(auth_header_entry->second, auth_token_prefix, |
- true)) { |
+ if (base::StartsWith(auth_header_entry->second, auth_token_prefix, |
+ base::CompareCase::SENSITIVE)) { |
*access_token = auth_header_entry->second.substr( |
strlen(auth_token_prefix)); |
return true; |