| Index: base/file_util_proxy.h
|
| diff --git a/base/file_util_proxy.h b/base/file_util_proxy.h
|
| index 4181a26011376b10965e2c9a4d6f6904a8a79576..b5e28c0b838ede81ab0e536b119a259b8f914322 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,
|
|
|