Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Side by Side Diff: base/file_util.h

Issue 7108033: Adding missing inclusions (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | base/logging.h » ('j') | base/logging.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
11 11
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 13
14 #if defined(OS_WIN) 14 #if defined(OS_WIN)
15 #include <windows.h> 15 #include <windows.h>
16 #if defined(UNIT_TEST) 16 #if defined(UNIT_TEST)
17 #include <aclapi.h> 17 #include <aclapi.h>
18 #endif 18 #endif
19 #elif defined(OS_POSIX) 19 #elif defined(OS_POSIX)
20 #include <sys/stat.h> 20 #include <sys/stat.h>
21 #include <unistd.h>
tzik 2011/06/15 09:38:19 for close()
21 #endif 22 #endif
22 23
23 #include <stdio.h> 24 #include <stdio.h>
24 25
25 #include <stack> 26 #include <stack>
26 #include <string> 27 #include <string>
27 #include <vector> 28 #include <vector>
28 29
29 #include "base/base_api.h" 30 #include "base/base_api.h"
30 #include "base/basictypes.h" 31 #include "base/basictypes.h"
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 BASE_API bool GetFileSystemType(const FilePath& path, FileSystemType* type); 655 BASE_API bool GetFileSystemType(const FilePath& path, FileSystemType* type);
655 #endif 656 #endif
656 657
657 } // namespace file_util 658 } // namespace file_util
658 659
659 // Deprecated functions have been moved to this separate header file, 660 // Deprecated functions have been moved to this separate header file,
660 // which must be included last after all the above definitions. 661 // which must be included last after all the above definitions.
661 #include "base/file_util_deprecated.h" 662 #include "base/file_util_deprecated.h"
662 663
663 #endif // BASE_FILE_UTIL_H_ 664 #endif // BASE_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | base/logging.h » ('j') | base/logging.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698