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

namespace base {
class FilePath;
}

namespace installer {

namespace test {

// Copies the hierarcy in |from| to |to|.
// Keeps all file properties identical (creation time, etc.).
bool CopyFileHierarchy(const base::FilePath& from, const base::FilePath& to);

}  // namespace test

}  // namespace installer

#endif  // CHROME_INSTALLER_UTIL_INSTALLER_UTIL_TEST_COMMON_H_