OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | |
grt (UTC plus 2)
2016/02/10 20:02:04
nit: no "(c)" in new file headers (http://www.chro
fdoray
2016/02/18 17:59:20
Done.
| |
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 // Deletes files that belong to old versions of Chrome from |install_dir|. | |
13 // chrome.exe, new_chrome.exe and their associated version directories are never | |
14 // deleted. Also, no file is deleted for a given version if a .exe or .dll file | |
15 // for that version is in use. Returns true if all old files were deleted | |
16 // successfully. | |
17 bool DeleteOldVersions(const base::FilePath& install_dir); | |
18 | |
19 #endif // CHROME_INSTALLER_UTIL_DELETE_OLD_VERSIONS_H_ | |
OLD | NEW |