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