OLD | NEW |
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 BASE_FILES_FILE_UTIL_PROXY_H_ | 5 #ifndef BASE_FILES_FILE_UTIL_PROXY_H_ |
6 #define BASE_FILES_FILE_UTIL_PROXY_H_ | 6 #define BASE_FILES_FILE_UTIL_PROXY_H_ |
7 | 7 |
8 #include "base/base_export.h" | 8 #include "base/base_export.h" |
9 #include "base/callback_forward.h" | 9 #include "base/callback_forward.h" |
10 #include "base/files/file.h" | 10 #include "base/files/file.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/macros.h" |
12 | 13 |
13 namespace base { | 14 namespace base { |
14 | 15 |
15 class TaskRunner; | 16 class TaskRunner; |
16 class Time; | 17 class Time; |
17 | 18 |
18 // This class provides asynchronous access to common file routines. | 19 // This class provides asynchronous access to common file routines. |
19 class BASE_EXPORT FileUtilProxy { | 20 class BASE_EXPORT FileUtilProxy { |
20 public: | 21 public: |
21 // This callback is used by methods that report only an error code. It is | 22 // This callback is used by methods that report only an error code. It is |
(...skipping 29 matching lines...) Expand all Loading... |
51 const Time& last_modified_time, | 52 const Time& last_modified_time, |
52 const StatusCallback& callback); | 53 const StatusCallback& callback); |
53 | 54 |
54 private: | 55 private: |
55 DISALLOW_IMPLICIT_CONSTRUCTORS(FileUtilProxy); | 56 DISALLOW_IMPLICIT_CONSTRUCTORS(FileUtilProxy); |
56 }; | 57 }; |
57 | 58 |
58 } // namespace base | 59 } // namespace base |
59 | 60 |
60 #endif // BASE_FILES_FILE_UTIL_PROXY_H_ | 61 #endif // BASE_FILES_FILE_UTIL_PROXY_H_ |
OLD | NEW |