Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 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_DELETE_OLD_VERSIONS_H_ | |
| 6 #define CHROME_INSTALLER_UTIL_DELETE_OLD_VERSIONS_H_ | |
| 7 | |
| 8 namespace base { | |
| 9 class FilePath; | |
| 10 } | |
| 11 | |
| 12 namespace installer { | |
| 13 | |
| 14 // Deletes files that belong to old versions of Chrome. chrome.exe, | |
| 15 // new_chrome.exe and their associated version directories are never deleted. | |
| 16 // Also, no file is deleted for a given version if a .exe or .dll file for that | |
| 17 // version is in use. Returns true if no file that belong to an old version of | |
|
grt (UTC plus 2)
2016/08/25 11:24:47
nit: "...no files that belong...remain."
fdoray
2016/08/26 15:16:15
Done.
| |
| 18 // Chrome remains. | |
| 19 bool DeleteOldVersions(const base::FilePath& install_dir); | |
| 20 | |
| 21 } // namespace installer | |
| 22 | |
| 23 #endif // CHROME_INSTALLER_UTIL_DELETE_OLD_VERSIONS_H_ | |
| OLD | NEW |