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

Side by Side Diff: base/file_util_proxy.h

Issue 6747014: Base: Last set of files to use BASE_API (for base.dll) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_FILE_UTIL_PROXY_H_ 5 #ifndef BASE_FILE_UTIL_PROXY_H_
6 #define BASE_FILE_UTIL_PROXY_H_ 6 #define BASE_FILE_UTIL_PROXY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/base_api.h"
10 #include "base/callback.h" 11 #include "base/callback.h"
11 #include "base/file_path.h" 12 #include "base/file_path.h"
12 #include "base/file_util.h" 13 #include "base/file_util.h"
13 #include "base/platform_file.h" 14 #include "base/platform_file.h"
14 #include "base/ref_counted.h" 15 #include "base/ref_counted.h"
15 #include "base/tracked_objects.h" 16 #include "base/tracked_objects.h"
16 17
17 namespace base { 18 namespace base {
18 19
19 class MessageLoopProxy; 20 class MessageLoopProxy;
20 class Time; 21 class Time;
21 22
22 // This class provides asynchronous access to common file routines. 23 // This class provides asynchronous access to common file routines.
23 class FileUtilProxy { 24 class BASE_API FileUtilProxy {
24 public: 25 public:
25 // Holds metadata for file or directory entry. Used by ReadDirectoryCallback. 26 // Holds metadata for file or directory entry. Used by ReadDirectoryCallback.
26 struct Entry { 27 struct Entry {
27 FilePath::StringType name; 28 FilePath::StringType name;
28 bool is_directory; 29 bool is_directory;
29 }; 30 };
30 31
31 // This callback is used by methods that report only an error code. It is 32 // This callback is used by methods that report only an error code. It is
32 // valid to pass NULL as the callback parameter to any function that takes a 33 // valid to pass NULL as the callback parameter to any function that takes a
33 // StatusCallback, in which case the operation will complete silently. 34 // StatusCallback, in which case the operation will complete silently.
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 PlatformFile file, 207 PlatformFile file,
207 StatusCallback* callback); 208 StatusCallback* callback);
208 209
209 private: 210 private:
210 DISALLOW_IMPLICIT_CONSTRUCTORS(FileUtilProxy); 211 DISALLOW_IMPLICIT_CONSTRUCTORS(FileUtilProxy);
211 }; 212 };
212 213
213 } // namespace base 214 } // namespace base
214 215
215 #endif // BASE_FILE_UTIL_PROXY_H_ 216 #endif // BASE_FILE_UTIL_PROXY_H_
OLDNEW
« base/base_api.h ('K') | « base/event_recorder.h ('k') | base/logging_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698