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

Unified Diff: sandbox/win/wow_helper/wow_helper.cc

Issue 109843003: Replace wstring with string16 in sandbox (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 | « sandbox/win/tests/validation_tests/commands.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/wow_helper/wow_helper.cc
diff --git a/sandbox/win/wow_helper/wow_helper.cc b/sandbox/win/wow_helper/wow_helper.cc
index 2a27a85e91e9c482d2f5c3208651018c0296bc16..847190ac8b8b43f1ab43b9ff2a4100c7eaa319e6 100644
--- a/sandbox/win/wow_helper/wow_helper.cc
+++ b/sandbox/win/wow_helper/wow_helper.cc
@@ -27,7 +27,7 @@ inline typename string_type::value_type* WriteInto(string_type* str,
}
// Grabbed from base/string_util.cc
-std::string WideToMultiByte(const std::wstring& wide, UINT code_page) {
+std::string WideToMultiByte(const base::string16& wide, UINT code_page) {
if (wide.length() == 0)
return std::string();
@@ -46,7 +46,7 @@ std::string WideToMultiByte(const std::wstring& wide, UINT code_page) {
}
// Grabbed from base/string_util.cc
-std::string WideToUTF8(const std::wstring& wide) {
+std::string WideToUTF8(const base::string16& wide) {
return WideToMultiByte(wide, CP_UTF8);
}
« no previous file with comments | « sandbox/win/tests/validation_tests/commands.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698