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

Unified Diff: remoting/host/setup/win/auth_code_getter.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/daemon_installer_win.cc ('k') | remoting/host/verify_config_window_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/setup/win/auth_code_getter.cc
diff --git a/remoting/host/setup/win/auth_code_getter.cc b/remoting/host/setup/win/auth_code_getter.cc
index c6801919a8ad6585f40cb2ad6271c7fd67a2529a..2fbb68dfc361b78880cea068b3472d096aaf2802 100644
--- a/remoting/host/setup/win/auth_code_getter.cc
+++ b/remoting/host/setup/win/auth_code_getter.cc
@@ -38,7 +38,7 @@ void AuthCodeGetter::GetAuthCode(
on_auth_code_.Run("");
return;
}
- base::win::ScopedBstr url(UTF8ToWide(
+ base::win::ScopedBstr url(base::UTF8ToWide(
GetOauthStartUrl(GetDefaultOauthRedirectUrl())).c_str());
base::win::ScopedVariant empty_variant;
hr = browser_->Navigate(url, empty_variant.AsInput(), empty_variant.AsInput(),
@@ -76,7 +76,7 @@ bool AuthCodeGetter::TestBrowserUrl(std::string* auth_code) {
KillBrowser();
return true;
}
- *auth_code = GetOauthCodeInUrl(WideToUTF8(static_cast<BSTR>(url)),
+ *auth_code = GetOauthCodeInUrl(base::WideToUTF8(static_cast<BSTR>(url)),
GetDefaultOauthRedirectUrl());
if (!auth_code->empty()) {
KillBrowser();
« no previous file with comments | « remoting/host/setup/daemon_installer_win.cc ('k') | remoting/host/verify_config_window_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698