Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(971)

Side by Side Diff: chrome/installer/util/delete_old_versions.h

Issue 1764053002: Revert of Delete old files after an update. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/installer/util/BUILD.gn ('k') | chrome/installer/util/delete_old_versions.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 WorkItemList;
9
10 namespace installer {
11
12 class InstallerState;
13
14 // Adds to |work_item_list| a WorkItem which deletes files that belong to old
15 // versions of Chrome. chrome.exe, new_chrome.exe and their associated version
16 // directories are never deleted. Also, no file is deleted for a given version
17 // if a .exe or .dll file for that version is in use. |installer_state| must be
18 // alive when |work_item_list| is executed.
19 void AddDeleteOldVersionsWorkItem(const InstallerState& installer_state,
20 WorkItemList* work_item_list);
21
22 } // namespace installer
23
24 #endif // CHROME_INSTALLER_UTIL_DELETE_OLD_VERSIONS_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/BUILD.gn ('k') | chrome/installer/util/delete_old_versions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698