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

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

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after r384946 Created 4 years, 8 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
« no previous file with comments | « base/files/file_proxy.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_FILES_FILE_UTIL_H_ 8 #ifndef BASE_FILES_FILE_UTIL_H_
9 #define BASE_FILES_FILE_UTIL_H_ 9 #define BASE_FILES_FILE_UTIL_H_
10 10
11 #include <stddef.h> 11 #include <stddef.h>
12 #include <stdint.h> 12 #include <stdint.h>
13 #include <stdio.h> 13 #include <stdio.h>
14 14
15 #include <set> 15 #include <set>
16 #include <string> 16 #include <string>
17 #include <vector> 17 #include <vector>
18 18
19 #include "base/base_export.h" 19 #include "base/base_export.h"
20 #include "base/files/file.h" 20 #include "base/files/file.h"
21 #include "base/files/file_path.h" 21 #include "base/files/file_path.h"
22 #include "base/memory/scoped_ptr.h"
23 #include "base/strings/string16.h" 22 #include "base/strings/string16.h"
24 #include "build/build_config.h" 23 #include "build/build_config.h"
25 24
26 #if defined(OS_WIN) 25 #if defined(OS_WIN)
27 #include <windows.h> 26 #include <windows.h>
28 #elif defined(OS_POSIX) 27 #elif defined(OS_POSIX)
29 #include <sys/stat.h> 28 #include <sys/stat.h>
30 #include <unistd.h> 29 #include <unistd.h>
31 #endif 30 #endif
32 31
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 // This function simulates Move(), but unlike Move() it works across volumes. 431 // This function simulates Move(), but unlike Move() it works across volumes.
433 // This function is not transactional. 432 // This function is not transactional.
434 BASE_EXPORT bool CopyAndDeleteDirectory(const FilePath& from_path, 433 BASE_EXPORT bool CopyAndDeleteDirectory(const FilePath& from_path,
435 const FilePath& to_path); 434 const FilePath& to_path);
436 #endif // defined(OS_WIN) 435 #endif // defined(OS_WIN)
437 436
438 } // namespace internal 437 } // namespace internal
439 } // namespace base 438 } // namespace base
440 439
441 #endif // BASE_FILES_FILE_UTIL_H_ 440 #endif // BASE_FILES_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « base/files/file_proxy.cc ('k') | base/files/file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698