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 10 matching lines...) Expand all Loading... |
21 | 21 |
22 #include <set> | 22 #include <set> |
23 #include <string> | 23 #include <string> |
24 #include <vector> | 24 #include <vector> |
25 | 25 |
26 #include "base/base_export.h" | 26 #include "base/base_export.h" |
27 #include "base/basictypes.h" | 27 #include "base/basictypes.h" |
28 #include "base/files/file_path.h" | 28 #include "base/files/file_path.h" |
29 #include "base/memory/scoped_ptr.h" | 29 #include "base/memory/scoped_ptr.h" |
30 #include "base/platform_file.h" | 30 #include "base/platform_file.h" |
31 #include "base/string16.h" | 31 #include "base/strings/string16.h" |
32 | 32 |
33 #if defined(OS_POSIX) | 33 #if defined(OS_POSIX) |
34 #include "base/file_descriptor_posix.h" | 34 #include "base/file_descriptor_posix.h" |
35 #include "base/logging.h" | 35 #include "base/logging.h" |
36 #include "base/posix/eintr_wrapper.h" | 36 #include "base/posix/eintr_wrapper.h" |
37 #endif | 37 #endif |
38 | 38 |
39 namespace base { | 39 namespace base { |
40 class Time; | 40 class Time; |
41 | 41 |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 | 444 |
445 // Attempts determine the FileSystemType for |path|. | 445 // Attempts determine the FileSystemType for |path|. |
446 // Returns false if |path| doesn't exist. | 446 // Returns false if |path| doesn't exist. |
447 BASE_EXPORT bool GetFileSystemType(const base::FilePath& path, | 447 BASE_EXPORT bool GetFileSystemType(const base::FilePath& path, |
448 FileSystemType* type); | 448 FileSystemType* type); |
449 #endif | 449 #endif |
450 | 450 |
451 } // namespace file_util | 451 } // namespace file_util |
452 | 452 |
453 #endif // BASE_FILE_UTIL_H_ | 453 #endif // BASE_FILE_UTIL_H_ |
OLD | NEW |