summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/installer_util_test_common.h
blob: 8839f6d030eacdb4c57368bd097a949e13a646ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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_