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

Side by Side Diff: base/file_util.h

Issue 11366229: Move eintr_wrapper.h from base to base/posix (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | « base/eintr_wrapper.h ('k') | base/file_util_posix.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « base/eintr_wrapper.h ('k') | base/file_util_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698