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

Side by Side Diff: storage/browser/fileapi/native_file_util.h

Issue 1429333002: Deprecate STORAGE_EXPORT_PRIVATE macro. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix rebase error Created 5 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
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 #ifndef STORAGE_BROWSER_FILEAPI_NATIVE_FILE_UTIL_H_ 5 #ifndef STORAGE_BROWSER_FILEAPI_NATIVE_FILE_UTIL_H_
6 #define STORAGE_BROWSER_FILEAPI_NATIVE_FILE_UTIL_H_ 6 #define STORAGE_BROWSER_FILEAPI_NATIVE_FILE_UTIL_H_
7 7
8 #include "base/files/file.h" 8 #include "base/files/file.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/file_util_proxy.h" 10 #include "base/files/file_util_proxy.h"
(...skipping 10 matching lines...) Expand all
21 // A thin wrapper class for accessing the OS native filesystem. 21 // A thin wrapper class for accessing the OS native filesystem.
22 // This performs common error checks necessary to implement FileUtil family 22 // This performs common error checks necessary to implement FileUtil family
23 // in addition to perform native filesystem operations. 23 // in addition to perform native filesystem operations.
24 // 24 //
25 // For the error checks it performs please see the comment for 25 // For the error checks it performs please see the comment for
26 // FileSystemFileUtil interface 26 // FileSystemFileUtil interface
27 // (storage/browser/fileapi/file_system_file_util.h). 27 // (storage/browser/fileapi/file_system_file_util.h).
28 // 28 //
29 // Note that all the methods of this class are static and this does NOT 29 // Note that all the methods of this class are static and this does NOT
30 // inherit from FileSystemFileUtil. 30 // inherit from FileSystemFileUtil.
31 class STORAGE_EXPORT_PRIVATE NativeFileUtil { 31 class STORAGE_EXPORT NativeFileUtil {
32 public: 32 public:
33 enum CopyOrMoveMode { 33 enum CopyOrMoveMode {
34 COPY_NOSYNC, 34 COPY_NOSYNC,
35 COPY_SYNC, 35 COPY_SYNC,
36 MOVE 36 MOVE
37 }; 37 };
38 38
39 static CopyOrMoveMode CopyOrMoveModeForDestination( 39 static CopyOrMoveMode CopyOrMoveModeForDestination(
40 const FileSystemURL& dest_url, bool copy); 40 const FileSystemURL& dest_url, bool copy);
41 41
(...skipping 23 matching lines...) Expand all
65 static base::File::Error DeleteFile(const base::FilePath& path); 65 static base::File::Error DeleteFile(const base::FilePath& path);
66 static base::File::Error DeleteDirectory(const base::FilePath& path); 66 static base::File::Error DeleteDirectory(const base::FilePath& path);
67 67
68 private: 68 private:
69 DISALLOW_IMPLICIT_CONSTRUCTORS(NativeFileUtil); 69 DISALLOW_IMPLICIT_CONSTRUCTORS(NativeFileUtil);
70 }; 70 };
71 71
72 } // namespace storage 72 } // namespace storage
73 73
74 #endif // STORAGE_BROWSER_FILEAPI_NATIVE_FILE_UTIL_H_ 74 #endif // STORAGE_BROWSER_FILEAPI_NATIVE_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « storage/browser/fileapi/file_writer_delegate.h ('k') | storage/browser/fileapi/obfuscated_file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698