| Index: base/file_util_win.cc
|
| diff --git a/base/file_util_win.cc b/base/file_util_win.cc
|
| index 5350b348646e1828c3d7535943136623f8fa3f23..f8d7f7b8e7030c8f303d69acc1cff89e8c6f75c2 100644
|
| --- a/base/file_util_win.cc
|
| +++ b/base/file_util_win.cc
|
| @@ -688,23 +688,8 @@ bool SetCurrentDirectory(const FilePath& directory) {
|
| return ret != 0;
|
| }
|
|
|
| -} // namespace base
|
| -
|
| -// -----------------------------------------------------------------------------
|
| -
|
| -namespace file_util {
|
| -
|
| -using base::DirectoryExists;
|
| -using base::FilePath;
|
| -using base::kFileShareAll;
|
| -
|
| -FILE* OpenFile(const std::string& filename, const char* mode) {
|
| - base::ThreadRestrictions::AssertIOAllowed();
|
| - return _fsopen(filename.c_str(), mode, _SH_DENYNO);
|
| -}
|
| -
|
| int GetMaximumPathComponentLength(const FilePath& path) {
|
| - base::ThreadRestrictions::AssertIOAllowed();
|
| + ThreadRestrictions::AssertIOAllowed();
|
|
|
| wchar_t volume_path[MAX_PATH];
|
| if (!GetVolumePathNameW(path.NormalizePathSeparators().value().c_str(),
|
| @@ -727,9 +712,8 @@ int GetMaximumPathComponentLength(const FilePath& path) {
|
| return std::min(whole_path_limit, static_cast<int>(max_length));
|
| }
|
|
|
| -} // namespace file_util
|
| +// -----------------------------------------------------------------------------
|
|
|
| -namespace base {
|
| namespace internal {
|
|
|
| bool MoveUnsafe(const FilePath& from_path, const FilePath& to_path) {
|
|
|