Index: base/test/test_file_util_win.cc |
diff --git a/base/test/test_file_util_win.cc b/base/test/test_file_util_win.cc |
index 0b7a0c6dfd3e023ee1fb24c49e848743bd5a9688..2656e31255c11e6490b2175bd8342f770cac4f04 100644 |
--- a/base/test/test_file_util_win.cc |
+++ b/base/test/test_file_util_win.cc |
@@ -259,32 +259,24 @@ bool HasInternetZoneIdentifier(const FilePath& full_path) { |
} |
} |
-} // namespace base |
- |
-namespace file_util { |
- |
-using base::DenyFilePermission; |
-using base::GetPermissionInfo; |
-using base::RestorePermissionInfo; |
- |
-bool MakeFileUnreadable(const base::FilePath& path) { |
+bool MakeFileUnreadable(const FilePath& path) { |
return DenyFilePermission(path, GENERIC_READ); |
} |
-bool MakeFileUnwritable(const base::FilePath& path) { |
+bool MakeFileUnwritable(const FilePath& path) { |
return DenyFilePermission(path, GENERIC_WRITE); |
} |
-PermissionRestorer::PermissionRestorer(const base::FilePath& path) |
+FilePermissionRestorer::FilePermissionRestorer(const FilePath& path) |
: path_(path), info_(NULL), length_(0) { |
info_ = GetPermissionInfo(path_, &length_); |
DCHECK(info_ != NULL); |
DCHECK_NE(0u, length_); |
} |
-PermissionRestorer::~PermissionRestorer() { |
+FilePermissionRestorer::~FilePermissionRestorer() { |
if (!RestorePermissionInfo(path_, info_, length_)) |
NOTREACHED(); |
} |
-} // namespace file_util |
+} // namespace base |