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

Unified Diff: components/os_crypt/ie7_password_win.cc

Issue 1279123004: Replace ToLower calls to the new format (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/os_crypt/ie7_password_win.cc
diff --git a/components/os_crypt/ie7_password_win.cc b/components/os_crypt/ie7_password_win.cc
index a2691f9951051f9987f48ea7c56ba2b974b7d8e1..eebd57b37809cbb335092cf72d5de1ada7c521f1 100644
--- a/components/os_crypt/ie7_password_win.cc
+++ b/components/os_crypt/ie7_password_win.cc
@@ -95,7 +95,7 @@ bool GetUserPassFromData(const std::vector<unsigned char>& data,
}
std::wstring GetUrlHash(const std::wstring& url) {
- std::wstring lower_case_url = base::StringToLowerASCII(url);
+ std::wstring lower_case_url = base::ToLowerASCII(url);
// Get a data buffer out of our std::wstring to pass to SHA1HashString.
std::string url_buffer(
reinterpret_cast<const char*>(lower_case_url.c_str()),
@@ -121,7 +121,7 @@ std::wstring GetUrlHash(const std::wstring& url) {
bool DecryptPasswords(const std::wstring& url,
const std::vector<unsigned char>& data,
std::vector<DecryptedCredentials>* credentials) {
- std::wstring lower_case_url = base::StringToLowerASCII(url);
+ std::wstring lower_case_url = base::ToLowerASCII(url);
DATA_BLOB input = {0};
DATA_BLOB output = {0};
DATA_BLOB url_key = {0};
« no previous file with comments | « components/nacl/renderer/ppb_nacl_private_impl.cc ('k') | components/plugins/renderer/mobile_youtube_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698