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

Unified Diff: components/os_crypt/ie7_password_win.cc

Issue 448853002: Move StringToLowerASCII to 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: 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 01569b1278a031b33642fe14eb1f287fa2723b8b..ef7fbd54071d7260de5d65c6aec199de06c2e9c1 100644
--- a/components/os_crypt/ie7_password_win.cc
+++ b/components/os_crypt/ie7_password_win.cc
@@ -89,7 +89,7 @@ bool GetUserPassFromData(const std::vector<unsigned char>& data,
}
std::wstring GetUrlHash(const std::wstring& url) {
- std::wstring lower_case_url = StringToLowerASCII(url);
+ std::wstring lower_case_url = base::StringToLowerASCII(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()),
@@ -115,7 +115,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 = StringToLowerASCII(url);
+ std::wstring lower_case_url = base::StringToLowerASCII(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