Index: base/file_util_proxy.h |
diff --git a/base/file_util_proxy.h b/base/file_util_proxy.h |
index 808c60e03fc1e9b0ee3bf3b1a4062d504c12cb73..196043a15c641082d4a1f8d55aacc1e94352a953 100644 |
--- a/base/file_util_proxy.h |
+++ b/base/file_util_proxy.h |
@@ -42,9 +42,9 @@ class BASE_EXPORT FileUtilProxy { |
typedef base::Callback<void(PlatformFileError /* error code */, |
PassPlatformFile, |
bool /* created */)> CreateOrOpenCallback; |
- typedef Callback3<PlatformFileError /* error code */, |
- PassPlatformFile, |
- FilePath>::Type CreateTemporaryCallback; |
+ typedef base::Callback<void(PlatformFileError /* error code */, |
+ PassPlatformFile, |
+ FilePath)> CreateTemporaryCallback; |
typedef Callback2<PlatformFileError /* error code */, |
bool /* created */>::Type EnsureFileExistsCallback; |
typedef Callback2<PlatformFileError /* error code */, |
@@ -80,7 +80,7 @@ class BASE_EXPORT FileUtilProxy { |
static bool CreateTemporary( |
scoped_refptr<MessageLoopProxy> message_loop_proxy, |
int additional_file_flags, |
- CreateTemporaryCallback* callback); |
+ const CreateTemporaryCallback& callback); |
// Close the given file handle. |
static bool Close(scoped_refptr<MessageLoopProxy> message_loop_proxy, |