OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 #include <vector> | 25 #include <vector> |
26 | 26 |
27 #include "base/base_export.h" | 27 #include "base/base_export.h" |
28 #include "base/basictypes.h" | 28 #include "base/basictypes.h" |
29 #include "base/file_path.h" | 29 #include "base/file_path.h" |
30 #include "base/memory/scoped_ptr.h" | 30 #include "base/memory/scoped_ptr.h" |
31 #include "base/platform_file.h" | 31 #include "base/platform_file.h" |
32 #include "base/string16.h" | 32 #include "base/string16.h" |
33 | 33 |
34 #if defined(OS_POSIX) | 34 #if defined(OS_POSIX) |
35 #include "base/eintr_wrapper.h" | |
36 #include "base/file_descriptor_posix.h" | 35 #include "base/file_descriptor_posix.h" |
37 #include "base/logging.h" | 36 #include "base/logging.h" |
| 37 #include "base/posix/eintr_wrapper.h" |
38 #endif | 38 #endif |
39 | 39 |
40 namespace base { | 40 namespace base { |
41 class Time; | 41 class Time; |
42 } | 42 } |
43 | 43 |
44 namespace file_util { | 44 namespace file_util { |
45 | 45 |
46 extern bool g_bug108724_debug; | 46 extern bool g_bug108724_debug; |
47 | 47 |
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 }; | 619 }; |
620 | 620 |
621 // Attempts determine the FileSystemType for |path|. | 621 // Attempts determine the FileSystemType for |path|. |
622 // Returns false if |path| doesn't exist. | 622 // Returns false if |path| doesn't exist. |
623 BASE_EXPORT bool GetFileSystemType(const FilePath& path, FileSystemType* type); | 623 BASE_EXPORT bool GetFileSystemType(const FilePath& path, FileSystemType* type); |
624 #endif | 624 #endif |
625 | 625 |
626 } // namespace file_util | 626 } // namespace file_util |
627 | 627 |
628 #endif // BASE_FILE_UTIL_H_ | 628 #endif // BASE_FILE_UTIL_H_ |
OLD | NEW |