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


CrOS-Libchrome-Original-Commit: 0f695a70c914d3acb1c2ec08e4f07f4e4eebccdd
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 @@
                               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 @@
   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,