| Index: base/file_util.h
|
| diff --git a/base/file_util.h b/base/file_util.h
|
| index bb04e6297719190129efcb264e92b19b56759b86..ab1432d779146113561b7d89aab775056e3571be 100644
|
| --- a/base/file_util.h
|
| +++ b/base/file_util.h
|
| @@ -410,28 +410,8 @@ BASE_EXPORT bool GetFileSystemType(const FilePath& path, FileSystemType* type);
|
| BASE_EXPORT bool GetShmemTempDir(bool executable, FilePath* path);
|
| #endif
|
|
|
| -} // namespace base
|
| -
|
| -// -----------------------------------------------------------------------------
|
| -
|
| -namespace file_util {
|
| -
|
| -// Functor for |ScopedFILE| (below).
|
| -struct ScopedFILEClose {
|
| - inline void operator()(FILE* x) const {
|
| - if (x)
|
| - fclose(x);
|
| - }
|
| -};
|
| -
|
| -// Automatically closes |FILE*|s.
|
| -typedef scoped_ptr<FILE, ScopedFILEClose> ScopedFILE;
|
| -
|
| -} // namespace file_util
|
| -
|
| // Internal --------------------------------------------------------------------
|
|
|
| -namespace base {
|
| namespace internal {
|
|
|
| // Same as Move but allows paths with traversal components.
|
|
|