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

Side by Side Diff: base/files/file_util.h

Issue 468253002: Move file_util to base/files/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Forgot to add forwarding header to patch Created 6 years, 4 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 | « base/files/file_unittest.cc ('k') | base/files/file_util.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_FILES_FILE_UTIL_H_
9 #define BASE_FILE_UTIL_H_ 9 #define BASE_FILES_FILE_UTIL_H_
10 10
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 12
13 #if defined(OS_WIN) 13 #if defined(OS_WIN)
14 #include <windows.h> 14 #include <windows.h>
15 #elif defined(OS_POSIX) 15 #elif defined(OS_POSIX)
16 #include <sys/stat.h> 16 #include <sys/stat.h>
17 #include <unistd.h> 17 #include <unistd.h>
18 #endif 18 #endif
19 19
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 // Returns true if all operations succeed. 429 // Returns true if all operations succeed.
430 // This function simulates Move(), but unlike Move() it works across volumes. 430 // This function simulates Move(), but unlike Move() it works across volumes.
431 // This function is not transactional. 431 // This function is not transactional.
432 BASE_EXPORT bool CopyAndDeleteDirectory(const FilePath& from_path, 432 BASE_EXPORT bool CopyAndDeleteDirectory(const FilePath& from_path,
433 const FilePath& to_path); 433 const FilePath& to_path);
434 #endif // defined(OS_WIN) 434 #endif // defined(OS_WIN)
435 435
436 } // namespace internal 436 } // namespace internal
437 } // namespace base 437 } // namespace base
438 438
439 #endif // BASE_FILE_UTIL_H_ 439 #endif // BASE_FILES_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « base/files/file_unittest.cc ('k') | base/files/file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698