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

Unified Diff: remoting/host/win/security_descriptor.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/win/rdp_desktop_session.cc ('k') | remoting/host/win/unprivileged_process_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/security_descriptor.cc
diff --git a/remoting/host/win/security_descriptor.cc b/remoting/host/win/security_descriptor.cc
index d6c7af04c67f3b20b686eb8b4019485bd8633b1b..572df45be48256ab43d66f273b7ee8989447608a 100644
--- a/remoting/host/win/security_descriptor.cc
+++ b/remoting/host/win/security_descriptor.cc
@@ -15,7 +15,7 @@ ScopedSd ConvertSddlToSd(const std::string& sddl) {
PSECURITY_DESCRIPTOR raw_sd = NULL;
ULONG length = 0;
if (!ConvertStringSecurityDescriptorToSecurityDescriptor(
- UTF8ToUTF16(sddl).c_str(), SDDL_REVISION_1, &raw_sd, &length)) {
+ base::UTF8ToUTF16(sddl).c_str(), SDDL_REVISION_1, &raw_sd, &length)) {
return ScopedSd();
}
@@ -34,7 +34,7 @@ std::string ConvertSidToString(SID* sid) {
base::string16 sid_string(c_sid_string);
LocalFree(c_sid_string);
- return UTF16ToUTF8(sid_string);
+ return base::UTF16ToUTF8(sid_string);
}
// Returns the logon SID of a token. Returns NULL if the token does not specify
« no previous file with comments | « remoting/host/win/rdp_desktop_session.cc ('k') | remoting/host/win/unprivileged_process_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698