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 #pragma once | 10 #pragma once |
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
633 FILE_SYSTEM_TYPE_COUNT | 633 FILE_SYSTEM_TYPE_COUNT |
634 }; | 634 }; |
635 | 635 |
636 // Attempts determine the FileSystemType for |path|. | 636 // Attempts determine the FileSystemType for |path|. |
637 // Returns false if |path| doesn't exist. | 637 // Returns false if |path| doesn't exist. |
638 BASE_EXPORT bool GetFileSystemType(const FilePath& path, FileSystemType* type); | 638 BASE_EXPORT bool GetFileSystemType(const FilePath& path, FileSystemType* type); |
639 #endif | 639 #endif |
640 | 640 |
641 } // namespace file_util | 641 } // namespace file_util |
642 | 642 |
643 #if defined(OS_WIN) | |
644 // Deprecated functions have been moved to this separate header file, | |
645 // which must be included last after all the above definitions. | |
646 #include "base/file_util_deprecated.h" | |
647 #endif | |
648 | |
649 #endif // BASE_FILE_UTIL_H_ | 643 #endif // BASE_FILE_UTIL_H_ |
OLD | NEW |