diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-11 00:50:59 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-11 00:50:59 +0000 |
commit | eae9c0623d1800201739b4be146649103a45cd93 (patch) | |
tree | 2ce42f83e18d8a0a618ffd6dbe69b1acade5bda4 /base/file_util_proxy.h | |
parent | 26f0821d0a34a79e551213d56054366aab6c70f7 (diff) | |
download | chromium_src-eae9c0623d1800201739b4be146649103a45cd93.zip chromium_src-eae9c0623d1800201739b4be146649103a45cd93.tar.gz chromium_src-eae9c0623d1800201739b4be146649103a45cd93.tar.bz2 |
Order function definitions in base/ according to the header.
BUG=68682
TEST=compiles
Review URL: http://codereview.chromium.org/6085015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70975 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util_proxy.h')
-rw-r--r-- | base/file_util_proxy.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/base/file_util_proxy.h b/base/file_util_proxy.h index 4181a26..b5e28c0 100644 --- a/base/file_util_proxy.h +++ b/base/file_util_proxy.h @@ -100,6 +100,15 @@ class FileUtilProxy { const FilePath& file_path, ReadDirectoryCallback* callback); + // Creates directory at given path. It's an error to create + // if |exclusive| is true and dir already exists. + static bool CreateDirectory( + scoped_refptr<MessageLoopProxy> message_loop_proxy, + const FilePath& file_path, + bool exclusive, + bool recursive, + StatusCallback* callback); + // Copies a file or a directory from |src_file_path| to |dest_file_path| // Error cases: // If destination file doesn't exist or destination's parent @@ -113,13 +122,12 @@ class FileUtilProxy { const FilePath& dest_file_path, StatusCallback* callback); - // Creates directory at given path. It's an error to create - // if |exclusive| is true and dir already exists. - static bool CreateDirectory( + // Moves a file or a directory from src_file_path to dest_file_path. + // Error cases are similar to Copy method's error cases. + static bool Move( scoped_refptr<MessageLoopProxy> message_loop_proxy, - const FilePath& file_path, - bool exclusive, - bool recursive, + const FilePath& src_file_path, + const FilePath& dest_file_path, StatusCallback* callback); // Deletes a file or a directory. @@ -129,14 +137,6 @@ class FileUtilProxy { bool recursive, StatusCallback* callback); - // Moves a file or a directory from src_file_path to dest_file_path. - // Error cases are similar to Copy method's error cases. - static bool Move( - scoped_refptr<MessageLoopProxy> message_loop_proxy, - const FilePath& src_file_path, - const FilePath& dest_file_path, - StatusCallback* callback); - // Deletes a directory and all of its contents. static bool RecursiveDelete( scoped_refptr<MessageLoopProxy> message_loop_proxy, |