diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-17 20:12:05 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-17 20:12:05 +0000 |
commit | 0f695a70c914d3acb1c2ec08e4f07f4e4eebccdd (patch) | |
tree | 5bbfca2ef2591f78302c3d29245f85ac20eed942 /base/file_util_proxy.h | |
parent | b6a4ac2bccf88f27be2c2017dddeddf2aac1ff3b (diff) | |
download | chromium_src-0f695a70c914d3acb1c2ec08e4f07f4e4eebccdd.zip chromium_src-0f695a70c914d3acb1c2ec08e4f07f4e4eebccdd.tar.gz chromium_src-0f695a70c914d3acb1c2ec08e4f07f4e4eebccdd.tar.bz2 |
base::Bind: Convert FileUtilProxy::GetFileInfoCallback.
BUG=none
TEST=none
R=csilv@chromium.org
Review URL: http://codereview.chromium.org/8315012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105888 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util_proxy.h')
-rw-r--r-- | base/file_util_proxy.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/base/file_util_proxy.h b/base/file_util_proxy.h index fb3c5ce..2c15cfa 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 */, 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, |