summaryrefslogtreecommitdiffstats
path: root/base/file_util_proxy.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-17 19:29:29 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-17 19:29:29 +0000
commit7bf4a8ef5ab46f4fe636fecce9cb0b86e2f5efe7 (patch)
treea02ee7866aa2d648d8769ee6266bad8c1e280052 /base/file_util_proxy.h
parent39cc9bca6b008904ed5e70cc8b965c18a0382208 (diff)
downloadchromium_src-7bf4a8ef5ab46f4fe636fecce9cb0b86e2f5efe7.zip
chromium_src-7bf4a8ef5ab46f4fe636fecce9cb0b86e2f5efe7.tar.gz
chromium_src-7bf4a8ef5ab46f4fe636fecce9cb0b86e2f5efe7.tar.bz2
base::Bind: Convert FileUtilProxy::CreateTemporaryCallback.
BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8315011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105881 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util_proxy.h')
-rw-r--r--base/file_util_proxy.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/file_util_proxy.h b/base/file_util_proxy.h
index 808c60e..196043a1 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,