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 class WorkItem; | |
| 9 class WorkItemList; | |
| 10 | |
| 11 namespace installer { | |
| 12 | |
| 13 class InstallerState; | |
| 14 | |
| 15 // Adds to |work_item_list| a WorkItem which deletes files that belong to old | |
| 16 // versions of Chrome. chrome.exe, new_chrome.exe and their associated version | |
| 17 // directories are never deleted. Also, no file is deleted for a given version | |
| 18 // if a .exe or .dll file for that version is in use. |installer_state| has to | |
|
grt (UTC plus 2)
2016/02/25 19:25:40
nit: "has to be" -> "must be"
fdoray
2016/02/26 17:00:05
Done.
| |
| 19 // be alive when |work_item_list| is executed. Returns the added WorkItem. | |
| 20 WorkItem* AddDeleteOldVersionsWorkItem(const InstallerState& installer_state, | |
| 21 WorkItemList* work_item_list); | |
| 22 | |
| 23 } // namespace installer | |
| 24 | |
| 25 #endif // CHROME_INSTALLER_UTIL_DELETE_OLD_VERSIONS_H_ | |
| OLD | NEW |