| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file contains utility functions for dealing with the local | 5 // This file contains utility functions for dealing with the local |
| 6 // filesystem. | 6 // filesystem. |
| 7 | 7 |
| 8 #ifndef BASE_FILE_UTIL_H_ | 8 #ifndef BASE_FILE_UTIL_H_ |
| 9 #define BASE_FILE_UTIL_H_ | 9 #define BASE_FILE_UTIL_H_ |
| 10 #pragma once | 10 #pragma once |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #endif | 21 #endif |
| 22 | 22 |
| 23 #include <stdio.h> | 23 #include <stdio.h> |
| 24 | 24 |
| 25 #include <stack> | 25 #include <stack> |
| 26 #include <string> | 26 #include <string> |
| 27 #include <vector> | 27 #include <vector> |
| 28 | 28 |
| 29 #include "base/basictypes.h" | 29 #include "base/basictypes.h" |
| 30 #include "base/file_path.h" | 30 #include "base/file_path.h" |
| 31 #include "base/memory/scoped_ptr.h" |
| 31 #include "base/platform_file.h" | 32 #include "base/platform_file.h" |
| 32 #include "base/scoped_ptr.h" | |
| 33 #include "base/string16.h" | 33 #include "base/string16.h" |
| 34 | 34 |
| 35 #if defined(OS_POSIX) | 35 #if defined(OS_POSIX) |
| 36 #include "base/eintr_wrapper.h" | 36 #include "base/eintr_wrapper.h" |
| 37 #include "base/file_descriptor_posix.h" | 37 #include "base/file_descriptor_posix.h" |
| 38 #include "base/logging.h" | 38 #include "base/logging.h" |
| 39 #endif | 39 #endif |
| 40 | 40 |
| 41 namespace base { | 41 namespace base { |
| 42 class Time; | 42 class Time; |
| (...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 634 bool GetFileSystemType(const FilePath& path, FileSystemType* type); | 634 bool GetFileSystemType(const FilePath& path, FileSystemType* type); |
| 635 #endif | 635 #endif |
| 636 | 636 |
| 637 } // namespace file_util | 637 } // namespace file_util |
| 638 | 638 |
| 639 // Deprecated functions have been moved to this separate header file, | 639 // Deprecated functions have been moved to this separate header file, |
| 640 // which must be included last after all the above definitions. | 640 // which must be included last after all the above definitions. |
| 641 #include "base/file_util_deprecated.h" | 641 #include "base/file_util_deprecated.h" |
| 642 | 642 |
| 643 #endif // BASE_FILE_UTIL_H_ | 643 #endif // BASE_FILE_UTIL_H_ |
| OLD | NEW |