Android: Get rid of extra dup()s on launching child processes
[chromium-blink-merge.git] / chrome / installer / util / installer_util_test_common.h
blob0a4096879132fab01ca1cdcca0c145de63624189
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.
5 #ifndef CHROME_INSTALLER_UTIL_INSTALLER_UTIL_TEST_COMMON_H_
6 #define CHROME_INSTALLER_UTIL_INSTALLER_UTIL_TEST_COMMON_H_
8 namespace base {
9 class FilePath;
12 namespace installer {
14 namespace test {
16 // Copies the hierarcy in |from| to |to|.
17 // Keeps all file properties identical (creation time, etc.).
18 bool CopyFileHierarchy(const base::FilePath& from, const base::FilePath& to);
20 } // namespace test
22 } // namespace installer
24 #endif // CHROME_INSTALLER_UTIL_INSTALLER_UTIL_TEST_COMMON_H_