summaryrefslogtreecommitdiffstats
path: root/remoting/host/setup/win/auth_code_getter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/setup/win/auth_code_getter.cc')
-rw-r--r--remoting/host/setup/win/auth_code_getter.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/host/setup/win/auth_code_getter.cc b/remoting/host/setup/win/auth_code_getter.cc
index c680191..2fbb68d 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();