aboutsummaryrefslogtreecommitdiff
path: root/src/common/tests/file_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/tests/file_utils.h')
-rw-r--r--src/common/tests/file_utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/tests/file_utils.h b/src/common/tests/file_utils.h
index 52e8b009..c98a9bfa 100644
--- a/src/common/tests/file_utils.h
+++ b/src/common/tests/file_utils.h
@@ -35,6 +35,9 @@
namespace google_breakpad {
+// Copies a file from |from_path| to |to_path|. Returns true on success.
+bool CopyFile(const char* from_path, const char* to_path);
+
// Reads the content of a file at |path| into |buffer|. |buffer_size| specifies
// the size of |buffer| in bytes and returns the number of bytes read from the
// file on success. Returns true on success.