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

Unified Diff: components/update_client/utils.cc

Issue 1282363003: Convert remaining StringToLowerASCII to ToLowerASCII (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: components/update_client/utils.cc
diff --git a/components/update_client/utils.cc b/components/update_client/utils.cc
index 11e8060391b0a3cd6805b97e87ed65b83ffdc23e..2b660503065abfd8cca23606010f7728b5b43cc0 100644
--- a/components/update_client/utils.cc
+++ b/components/update_client/utils.cc
@@ -188,7 +188,7 @@ bool DeleteFileAndEmptyParentDirectory(const base::FilePath& filepath) {
std::string GetCrxComponentID(const CrxComponent& component) {
const size_t kCrxIdSize = 16;
CHECK_GE(component.pk_hash.size(), kCrxIdSize);
- return HexStringToID(base::StringToLowerASCII(
+ return HexStringToID(base::ToLowerASCII(
base::HexEncode(&component.pk_hash[0], kCrxIdSize)));
}
« no previous file with comments | « components/storage_monitor/portable_device_watcher_win.cc ('k') | components/url_matcher/regex_set_matcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698