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

Unified Diff: base/file_util_proxy.h

Issue 8315012: base::Bind: Convert FileUtilProxy::GetFileInfoCallback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pipelining. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/file_util_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util_proxy.h
diff --git a/base/file_util_proxy.h b/base/file_util_proxy.h
index fb3c5ce9ed46300323703cdf171f35f33dfa71ef..2c15cfa2d56700395f90199269fc7e09b0a3bc23 100644
--- a/base/file_util_proxy.h
+++ b/base/file_util_proxy.h
@@ -47,9 +47,9 @@ class BASE_EXPORT FileUtilProxy {
FilePath)> CreateTemporaryCallback;
typedef base::Callback<void(PlatformFileError /* error code */,
bool /* created */)> EnsureFileExistsCallback;
- typedef Callback2<PlatformFileError /* error code */,
- const PlatformFileInfo& /* file_info */
- >::Type GetFileInfoCallback;
+ typedef base::Callback<void(PlatformFileError /* error code */,
+ const PlatformFileInfo& /* file_info */)>
+ GetFileInfoCallback;
typedef Callback2<PlatformFileError /* error code */,
csilv 2011/10/17 20:10:17 This formatting is a little ugly IMHO, but I'm not
const std::vector<Entry>&>::Type ReadDirectoryCallback;
typedef Callback3<PlatformFileError /* error code */,
@@ -106,12 +106,12 @@ class BASE_EXPORT FileUtilProxy {
static bool GetFileInfo(
scoped_refptr<MessageLoopProxy> message_loop_proxy,
const FilePath& file_path,
- GetFileInfoCallback* callback);
+ const GetFileInfoCallback& callback);
static bool GetFileInfoFromPlatformFile(
scoped_refptr<MessageLoopProxy> message_loop_proxy,
PlatformFile file,
- GetFileInfoCallback* callback);
+ const GetFileInfoCallback& callback);
static bool ReadDirectory(scoped_refptr<MessageLoopProxy> message_loop_proxy,
const FilePath& file_path,
« no previous file with comments | « no previous file | base/file_util_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698