1// Copyright (c) 2012 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#ifndef CHROME_INSTALLER_UTIL_INSTALLER_UTIL_TEST_COMMON_H_ 6#define CHROME_INSTALLER_UTIL_INSTALLER_UTIL_TEST_COMMON_H_ 7 8namespace base { 9class FilePath; 10} 11 12namespace installer { 13 14namespace test { 15 16// Copies the hierarcy in |from| to |to|. 17// Keeps all file properties identical (creation time, etc.). 18bool CopyFileHierarchy(const base::FilePath& from, const base::FilePath& to); 19 20} // namespace test 21 22} // namespace installer 23 24#endif // CHROME_INSTALLER_UTIL_INSTALLER_UTIL_TEST_COMMON_H_ 25