Index: base/file_util_proxy.h |
diff --git a/base/file_util_proxy.h b/base/file_util_proxy.h |
index 306d2e46f83dd03be5a80c42cbab397c5f10ecba..304854851b28f5759e5ca61af98e7dc01ded3c8a 100644 |
--- a/base/file_util_proxy.h |
+++ b/base/file_util_proxy.h |
@@ -52,9 +52,9 @@ class BASE_EXPORT FileUtilProxy { |
GetFileInfoCallback; |
typedef base::Callback<void(PlatformFileError /* error code */, |
const std::vector<Entry>&)> ReadDirectoryCallback; |
- typedef Callback3<PlatformFileError /* error code */, |
- const char* /* data */, |
- int /* bytes read/written */>::Type ReadCallback; |
+ typedef base::Callback<void(PlatformFileError /* error code */, |
+ const char* /* data */, |
+ int /* bytes read/written */)> ReadCallback; |
typedef Callback2<PlatformFileError /* error code */, |
int /* bytes written */>::Type WriteCallback; |
@@ -167,7 +167,7 @@ class BASE_EXPORT FileUtilProxy { |
PlatformFile file, |
int64 offset, |
int bytes_to_read, |
- ReadCallback* callback); |
+ const ReadCallback& callback); |
// Writes to a file. If |offset| is greater than the length of the file, |
// |false| is returned. On success, the file pointer is moved to position |