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, |