Index: components/proximity_auth/cryptauth/fake_secure_message_delegate.cc |
diff --git a/components/proximity_auth/cryptauth/fake_secure_message_delegate.cc b/components/proximity_auth/cryptauth/fake_secure_message_delegate.cc |
index 5fa5c5f42d5a1f71b27ed05505bd0463b883f29a..d05361c2d1ae50e65bbfcae06519a9974759d82b 100644 |
--- a/components/proximity_auth/cryptauth/fake_secure_message_delegate.cc |
+++ b/components/proximity_auth/cryptauth/fake_secure_message_delegate.cc |
@@ -76,7 +76,7 @@ bool Verify(const std::string& signature, |
signing_key = key; |
} else { |
std::string prefix = kPrivateKeyPrefix; |
- bool is_private_key = StartsWithASCII(key, prefix, true); |
+ bool is_private_key = base::StartsWithASCII(key, prefix, true); |
signing_key = is_private_key ? key.substr(prefix.size()) : prefix + key; |
} |
@@ -113,7 +113,7 @@ void FakeSecureMessageDelegate::DeriveKey(const std::string& private_key, |
// private key so it is equal to its corresponding public key. |
std::string prefix(kPrivateKeyPrefix); |
std::string normalized_private_key = |
- StartsWithASCII(private_key, prefix, true) |
+ base::StartsWithASCII(private_key, prefix, true) |
? private_key.substr(prefix.size()) |
: private_key; |