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

Unified Diff: base/test/test_file_util_posix.cc

Issue 448763003: Remove wstring file path helpers from test_file_util. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « base/test/test_file_util.h ('k') | base/test/test_file_util_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_file_util_posix.cc
diff --git a/base/test/test_file_util_posix.cc b/base/test/test_file_util_posix.cc
index ae14bc83951363503f5faccff4606ca837fb9edd..0350ccc0f0e5ee8551e6a5b098de9ac4c53c86a2 100644
--- a/base/test/test_file_util_posix.cc
+++ b/base/test/test_file_util_posix.cc
@@ -17,8 +17,6 @@
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
-using base::MakeAbsoluteFilePath;
-
namespace base {
namespace {
@@ -95,13 +93,6 @@ using base::DenyFilePermission;
using base::GetPermissionInfo;
using base::RestorePermissionInfo;
-std::wstring FilePathAsWString(const base::FilePath& path) {
- return base::UTF8ToWide(path.value());
-}
-base::FilePath WStringAsFilePath(const std::wstring& path) {
- return base::FilePath(base::WideToUTF8(path));
-}
-
bool MakeFileUnreadable(const base::FilePath& path) {
return DenyFilePermission(path, S_IRUSR | S_IRGRP | S_IROTH);
}
« no previous file with comments | « base/test/test_file_util.h ('k') | base/test/test_file_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698