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

Unified Diff: chrome/browser/password_manager/password_store_win.cc

Issue 12314090: Add utf_string_conversions to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/password_manager/password_store_win.cc
diff --git a/chrome/browser/password_manager/password_store_win.cc b/chrome/browser/password_manager/password_store_win.cc
index 3736e758cf897a934eecb431c130c0e54536c95e..30221540b4f4dcf4e8122d32d0db2d923c5489e8 100644
--- a/chrome/browser/password_manager/password_store_win.cc
+++ b/chrome/browser/password_manager/password_store_win.cc
@@ -88,7 +88,8 @@ void PasswordStoreWin::DBHandler::GetIE7Login(
const PasswordStoreWin::ConsumerCallbackRunner& callback_runner) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
IE7PasswordInfo info;
- info.url_hash = ie7_password::GetUrlHash(UTF8ToWide(form.origin.spec()));
+ info.url_hash =
+ ie7_password::GetUrlHash(base::UTF8ToWide(form.origin.spec()));
WebDataService::Handle handle = web_data_service_->GetIE7Login(info, this);
pending_requests_[handle] =
RequestInfo(new PasswordForm(form), callback_runner);
@@ -110,7 +111,7 @@ PasswordForm* PasswordStoreWin::DBHandler::GetIE7Result(
web_data_service_->RemoveIE7Login(info);
std::wstring username;
std::wstring password;
- std::wstring url = ASCIIToWide(form.origin.spec());
+ std::wstring url = base::ASCIIToWide(form.origin.spec());
if (!ie7_password::DecryptPassword(url, info.encrypted_data,
&username, &password)) {
return NULL;

Powered by Google App Engine
This is Rietveld 408576698