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

Issue 39048: Move files instead of copying them. (Closed)

Created:
11 years, 9 months ago by kuchhal
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Move files instead of copying them. BUG=1184319, 8218

Patch Set 1 #

Total comments: 1

Patch Set 2 : Make code review changes #

Total comments: 3

Patch Set 3 : More code review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+562 lines, -7 lines) Patch
M chrome/installer/setup/install.cc View 3 chunks +6 lines, -7 lines 0 comments Download
M chrome/installer/util/installer_unittests.vcproj View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/installer/util/move_tree_work_item.h View 1 2 1 chunk +62 lines, -0 lines 0 comments Download
A chrome/installer/util/move_tree_work_item.cc View 1 2 1 chunk +70 lines, -0 lines 0 comments Download
A chrome/installer/util/move_tree_work_item_unittest.cc View 1 1 chunk +387 lines, -0 lines 0 comments Download
M chrome/installer/util/util.vcproj View 1 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/installer/util/work_item.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/installer/util/work_item.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/installer/util/work_item_list.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/installer/util/work_item_list.cc View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
kuchhal
Before this change the install was taking around 15-18 seconds on my machine. After this ...
11 years, 9 months ago (2009-03-03 20:56:03 UTC) #1
huanr
I am wondering about the following two cases: (1) the source is in use. (2) ...
11 years, 9 months ago (2009-03-04 07:17:28 UTC) #2
kuchhal
- Added a test case for when source is in use - If destination is ...
11 years, 9 months ago (2009-03-04 19:38:46 UTC) #3
huanr
LGTM http://codereview.chromium.org/39048/diff/1002/29 File chrome/installer/util/util.vcproj (right): http://codereview.chromium.org/39048/diff/1002/29#newcode231 Line 231: <File Is this intended in this CL? ...
11 years, 9 months ago (2009-03-04 19:45:38 UTC) #4
cpu_(ooo_6.6-7.5)
11 years, 9 months ago (2009-03-04 20:06:26 UTC) #5
LGTM with the comment below. Thanks for doing this.

http://codereview.chromium.org/39048/diff/1002/26
File chrome/installer/util/move_tree_work_item.cc (right):

http://codereview.chromium.org/39048/diff/1002/26#newcode17
Line 17: MoveTreeWorkItem::MoveTreeWorkItem(std::wstring source_path,
definitely this should be pass by reference

http://codereview.chromium.org/39048/diff/1002/27
File chrome/installer/util/move_tree_work_item.h (right):

http://codereview.chromium.org/39048/diff/1002/27#newcode36
Line 36: MoveTreeWorkItem(std::wstring source_path,
why pass by copy?

Powered by Google App Engine
This is Rietveld 408576698