summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/installer_util_test_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer/util/installer_util_test_common.h')
-rw-r--r--chrome/installer/util/installer_util_test_common.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/chrome/installer/util/installer_util_test_common.h b/chrome/installer/util/installer_util_test_common.h
new file mode 100644
index 0000000..8839f6d
--- /dev/null
+++ b/chrome/installer/util/installer_util_test_common.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_INSTALLER_UTIL_INSTALLER_UTIL_TEST_COMMON_H_
+#define CHROME_INSTALLER_UTIL_INSTALLER_UTIL_TEST_COMMON_H_
+
+class FilePath;
+
+namespace installer {
+
+namespace test {
+
+// Copies the hierarcy in |from| to |to|.
+// Keeps all file properties identical (creation time, etc.).
+bool CopyFileHierarchy(const FilePath& from, const FilePath& to);
+
+} // namespace test
+
+} // namespace installer
+
+#endif // CHROME_INSTALLER_UTIL_INSTALLER_UTIL_TEST_COMMON_H_