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

Unified Diff: remoting/host/verify_config_window_win.cc

Issue 121123002: Update uses of UTF conversions in ppapi/, printing/, remoting/, rlz/, sandbox/, skia/, sql/, sync/,… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
« no previous file with comments | « remoting/host/setup/win/auth_code_getter.cc ('k') | remoting/host/win/chromoting_module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/verify_config_window_win.cc
diff --git a/remoting/host/verify_config_window_win.cc b/remoting/host/verify_config_window_win.cc
index df7a590619fc1e1a334c3dd02b03cb758219718f..849d3842a366584acf0a06e16f5dd9b702a984ff 100644
--- a/remoting/host/verify_config_window_win.cc
+++ b/remoting/host/verify_config_window_win.cc
@@ -43,7 +43,7 @@ LRESULT VerifyConfigWindowWin::OnInitDialog(HWND wparam, LPARAM lparam) {
CenterWindow();
CWindow email_text(GetDlgItem(IDC_EMAIL));
- email_text.SetWindowText(UTF8ToUTF16(email_).c_str());
+ email_text.SetWindowText(base::UTF8ToUTF16(email_).c_str());
return TRUE;
}
@@ -114,7 +114,8 @@ bool VerifyConfigWindowWin::VerifyHostSecretHash() {
int result = pin_edit.GetWindowText(pin.get(), pin_length + 1);
pin[std::min(result, pin_length)] = 0;
- return VerifyHostPinHash(host_secret_hash_, host_id_, UTF16ToUTF8(pin.get()));
+ return VerifyHostPinHash(host_secret_hash_,
+ host_id_, base::UTF16ToUTF8(pin.get()));
}
} // namespace remoting
« no previous file with comments | « remoting/host/setup/win/auth_code_getter.cc ('k') | remoting/host/win/chromoting_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698