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

Unified Diff: webrtc/test/testsupport/fileutils.cc

Issue 2744833002: Delete utf_util_win.h. (Closed)
Patch Set: Add rtc:: prefix to ToUtf16 and ToUtf8. Created 3 years, 9 months 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 | « webrtc/system_wrappers/include/utf_util_win.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/testsupport/fileutils.cc
diff --git a/webrtc/test/testsupport/fileutils.cc b/webrtc/test/testsupport/fileutils.cc
index 2d3ea00925a10fc3ea7306eaf0454e41f4e8658f..2555f5cc07102e4bd1305e1e2adb73719b96fc67 100644
--- a/webrtc/test/testsupport/fileutils.cc
+++ b/webrtc/test/testsupport/fileutils.cc
@@ -21,7 +21,7 @@
#include "Shlwapi.h"
#include "WinDef.h"
-#include "webrtc/system_wrappers/include/utf_util_win.h"
+#include "webrtc/base/win32.h"
#define GET_CURRENT_DIR _getcwd
#else
#include <unistd.h>
@@ -183,9 +183,9 @@ std::string WorkingDir() {
std::string TempFilename(const std::string &dir, const std::string &prefix) {
#ifdef WIN32
wchar_t filename[MAX_PATH];
- if (::GetTempFileName(ToUtf16(dir).c_str(),
- ToUtf16(prefix).c_str(), 0, filename) != 0)
- return ToUtf8(filename);
+ if (::GetTempFileName(rtc::ToUtf16(dir).c_str(),
+ rtc::ToUtf16(prefix).c_str(), 0, filename) != 0)
+ return rtc::ToUtf8(filename);
assert(false);
return "";
#else
« no previous file with comments | « webrtc/system_wrappers/include/utf_util_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698