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

Side by Side Diff: webkit/fileapi/file_system_file_util_proxy.h

Issue 8322009: base::Bind: Convert FileUtilProxy::ReadDirectoryCallback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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/file_util_proxy.cc ('k') | webkit/fileapi/file_system_file_util_proxy.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) 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 WEBKIT_FILEAPI_FILE_SYSTEM_FILE_UTIL_PROXY_H_ 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_FILE_UTIL_PROXY_H_
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_FILE_UTIL_PROXY_H_ 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_FILE_UTIL_PROXY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // callback. 90 // callback.
91 static bool GetFileInfo( 91 static bool GetFileInfo(
92 const FileSystemOperationContext& context, 92 const FileSystemOperationContext& context,
93 scoped_refptr<MessageLoopProxy> message_loop_proxy, 93 scoped_refptr<MessageLoopProxy> message_loop_proxy,
94 const FilePath& file_path, 94 const FilePath& file_path,
95 const GetFileInfoCallback& callback); 95 const GetFileInfoCallback& callback);
96 96
97 static bool ReadDirectory(const FileSystemOperationContext& context, 97 static bool ReadDirectory(const FileSystemOperationContext& context,
98 scoped_refptr<MessageLoopProxy> message_loop_proxy, 98 scoped_refptr<MessageLoopProxy> message_loop_proxy,
99 const FilePath& file_path, 99 const FilePath& file_path,
100 ReadDirectoryCallback* callback); 100 const ReadDirectoryCallback& callback);
101 101
102 // Creates directory at given path. It's an error to create 102 // Creates directory at given path. It's an error to create
103 // if |exclusive| is true and dir already exists. 103 // if |exclusive| is true and dir already exists.
104 static bool CreateDirectory( 104 static bool CreateDirectory(
105 const FileSystemOperationContext& context, 105 const FileSystemOperationContext& context,
106 scoped_refptr<MessageLoopProxy> message_loop_proxy, 106 scoped_refptr<MessageLoopProxy> message_loop_proxy,
107 const FilePath& file_path, 107 const FilePath& file_path,
108 bool exclusive, 108 bool exclusive,
109 bool recursive, 109 bool recursive,
110 StatusCallback* callback); 110 StatusCallback* callback);
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 int64 length, 159 int64 length,
160 StatusCallback* callback); 160 StatusCallback* callback);
161 161
162 private: 162 private:
163 DISALLOW_IMPLICIT_CONSTRUCTORS(FileSystemFileUtilProxy); 163 DISALLOW_IMPLICIT_CONSTRUCTORS(FileSystemFileUtilProxy);
164 }; 164 };
165 165
166 } // namespace fileapi 166 } // namespace fileapi
167 167
168 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_FILE_UTIL_PROXY_H_ 168 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_FILE_UTIL_PROXY_H_
OLDNEW
« no previous file with comments | « base/file_util_proxy.cc ('k') | webkit/fileapi/file_system_file_util_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698