|
Temp dir cleanup:
- use ScopedTempDir in work items that need backup space for rollback
- all work items that need backup space take a parent dir in which they create temp dirs
- use ScopedTempDir in a few other places
- renamed some parameters in certain functions so that the same name is used everywhere
While I was at it, I couldn't help but replace Append(UTF8ToWide(version.GetString())) with the more pleasing AppendASCII(version.GetString())
BUG= 70368
TEST=existing tests in installer_util_unittests cover the changes
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=75392
Total comments: 16
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+297 lines, -265 lines) |
Patch |
 |
M |
base/file_util_win.cc
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/setup/chrome_frame_quick_enable.cc
|
View
|
1
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/installer/setup/install.cc
|
View
|
|
5 chunks |
+5 lines, -29 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/setup/install_worker.h
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/setup/install_worker.cc
|
View
|
|
10 chunks |
+23 lines, -19 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/setup/setup_main.cc
|
View
|
1
|
10 chunks |
+29 lines, -29 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/setup/uninstall.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/util/copy_tree_work_item.h
|
View
|
|
3 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/util/copy_tree_work_item.cc
|
View
|
1
|
5 chunks |
+16 lines, -27 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/util/copy_tree_work_item_unittest.cc
|
View
|
|
12 chunks |
+29 lines, -20 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/util/delete_tree_work_item.h
|
View
|
|
2 chunks |
+21 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/util/delete_tree_work_item.cc
|
View
|
1
|
5 chunks |
+73 lines, -64 lines |
2 comments
|
Download
|
 |
M |
chrome/installer/util/delete_tree_work_item_unittest.cc
|
View
|
|
4 chunks |
+16 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/util/installer_state.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/installer/util/installer_state.cc
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/util/installer_state_unittest.cc
|
View
|
|
5 chunks |
+21 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/util/move_tree_work_item.h
|
View
|
|
2 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/util/move_tree_work_item.cc
|
View
|
1
|
3 chunks |
+15 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/util/work_item.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/installer/util/work_item.cc
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/util/work_item_list.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/installer/util/work_item_list.cc
|
View
|
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|