Index: chrome/browser/extensions/updater/local_extension_cache.cc |
diff --git a/chrome/browser/extensions/updater/local_extension_cache.cc b/chrome/browser/extensions/updater/local_extension_cache.cc |
index 74dec3998e86b6fff13740d6c900777e8c025118..677b3e87d0f338578de8a6387881a6ad71fd84fb 100644 |
--- a/chrome/browser/extensions/updater/local_extension_cache.cc |
+++ b/chrome/browser/extensions/updater/local_extension_cache.cc |
@@ -420,7 +420,8 @@ void LocalExtensionCache::BackendCheckCacheContentsInternal( |
std::string id; |
std::string version; |
std::string expected_hash; |
- if (EndsWith(basename, kCRXFileExtension, false /* case-sensitive */)) { |
+ if (base::EndsWith(basename, kCRXFileExtension, |
+ false /* case-sensitive */)) { |
size_t n = basename.find('-'); |
if (n != std::string::npos && n + 1 < basename.size() - 4) { |
id = basename.substr(0, n); |