Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1080)

Unified Diff: chrome/browser/download/download_extensions.cc

Issue 448143008: Move StringToUpperASCII and LowerCaseEqualsASCII to the base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/download_extensions.cc
diff --git a/chrome/browser/download/download_extensions.cc b/chrome/browser/download/download_extensions.cc
index 75ebb01006b6655817b6ba4ebd069d0cd7fdcc17..70a5763f5f3edae8d3c869682303c721b88c48b9 100644
--- a/chrome/browser/download/download_extensions.cc
+++ b/chrome/browser/download/download_extensions.cc
@@ -222,7 +222,8 @@ DownloadDangerLevel GetFileDangerLevel(const base::FilePath& path) {
ascii_extension.erase(0, 1);
for (size_t i = 0; i < arraysize(g_executables); ++i) {
- if (LowerCaseEqualsASCII(ascii_extension, g_executables[i].extension))
+ if (base::LowerCaseEqualsASCII(ascii_extension,
+ g_executables[i].extension))
return g_executables[i].level;
}
return NOT_DANGEROUS;

Powered by Google App Engine
This is Rietveld 408576698