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

Issue 164537: Renames the function CreateTemporaryFilename to CreateTemporaryFile and track... (Closed)

Created:
11 years, 4 months ago by tfarina (gmail-do not use)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, willchan no longer on Chromium, John Grabowski, Erik does not do reviews, Paul Godavari, jam, kuchhal, darin (slow to review), brettw, Ben Goodger (Google)
Visibility:
Public.

Description

Renames the function CreateTemporaryFilename to CreateTemporaryFile and track down all callers, also removes the deprecated function that uses std::wstring. BUG=3078 (http://crbug.com/3078) TEST=run base_unittests, installer_util_unittests, net_unittests, setup_unittests, and unit_tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=23631

Patch Set 1 #

Total comments: 7

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : backup_path_ fix #

Patch Set 7 : file_system_accessor fix #

Patch Set 8 : CommandLine fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -82 lines) Patch
M base/file_util.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -9 lines 0 comments Download
M base/file_util.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -7 lines 0 comments Download
M base/file_util_posix.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -5 lines 0 comments Download
M base/file_util_unittest.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -4 lines 0 comments Download
M base/file_util_win.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -12 lines 0 comments Download
M chrome/browser/download/download_file.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/save_file.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/save_package.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_updater.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/jumplist.cc View 2 3 4 5 6 7 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/renderer_host/file_system_accessor_unittest.cc View 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/setup/setup_util_unittest.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/installer/setup/uninstall.cc View 1 2 3 4 5 6 7 2 chunks +13 lines, -10 lines 0 comments Download
MM chrome/installer/util/master_preferences_unittest.cc View 1 2 3 4 5 6 7 6 chunks +9 lines, -12 lines 0 comments Download
MM chrome/installer/util/move_tree_work_item.cc View 2 3 4 5 6 7 1 chunk +8 lines, -2 lines 0 comments Download
M chrome/renderer/render_view_unittest.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M net/base/file_stream_unittest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -3 lines 0 comments Download
M webkit/glue/plugins/plugin_stream_posix.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M webkit/tools/test_shell/test_shell_gtk.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
tfarina (gmail-do not use)
http://codereview.chromium.org/164537/diff/1/15 File chrome/installer/setup/setup_util_unittest.cc (right): http://codereview.chromium.org/164537/diff/1/15#newcode89 Line 89: FilePath program; Please disconsider this change. It is ...
11 years, 4 months ago (2009-08-14 00:29:42 UTC) #1
Erik does not do reviews
http://codereview.chromium.org/164537/diff/1/7 File base/file_util.h (right): http://codereview.chromium.org/164537/diff/1/7#newcode299 Line 299: bool CreateTemporaryFileNameInDir(const std::wstring& dir, this should be renamed ...
11 years, 4 months ago (2009-08-14 14:50:05 UTC) #2
tfarina (gmail-do not use)
http://codereview.chromium.org/164537/diff/1/7 File base/file_util.h (right): http://codereview.chromium.org/164537/diff/1/7#newcode299 Line 299: bool CreateTemporaryFileNameInDir(const std::wstring& dir, On 2009/08/14 14:50:05, Erik ...
11 years, 4 months ago (2009-08-14 15:53:19 UTC) #3
Erik does not do reviews
http://codereview.chromium.org/164537/diff/40/1008 File base/file_util.h (right): http://codereview.chromium.org/164537/diff/40/1008#newcode299 Line 299: bool CreateTemporaryFileInDir(const std::wstring& dir, Sorry, also add a ...
11 years, 4 months ago (2009-08-14 16:14:10 UTC) #4
tfarina (gmail-do not use)
http://codereview.chromium.org/164537/diff/40/1008 File base/file_util.h (right): http://codereview.chromium.org/164537/diff/40/1008#newcode299 Line 299: bool CreateTemporaryFileInDir(const std::wstring& dir, On 2009/08/14 16:14:10, Erik ...
11 years, 4 months ago (2009-08-14 17:10:49 UTC) #5
Erik does not do reviews
I'm surprised the installer unit tests didn't catch this. Maybe there's a missing test case ...
11 years, 4 months ago (2009-08-14 17:25:33 UTC) #6
kuchhal
This should have been caught by MoveDirectoryDestExists test in http://src.chromium.org/viewvc/chrome/trunk/src/chrome/installer/util/move_tree_work_item_unittest.cc?revision=15325 <http://src.chromium.org/viewvc/chrome/trunk/src/chrome/installer/util/move_tree_work_item_unittest.cc?revision=15325>Did you run installer_util_unittests.exe with ...
11 years, 4 months ago (2009-08-14 17:43:32 UTC) #7
tfarina (gmail-do not use)
On 2009/08/14 17:43:32, kuchhal wrote: > This should have been caught by MoveDirectoryDestExists test in ...
11 years, 4 months ago (2009-08-14 17:57:38 UTC) #8
tfarina (gmail-do not use)
http://codereview.chromium.org/164537/diff/1041/1060 File chrome/installer/util/move_tree_work_item.cc (right): http://codereview.chromium.org/164537/diff/1041/1060#newcode37 Line 37: &FilePath(backup_path_))) { On 2009/08/14 17:25:34, Erik Kay wrote: ...
11 years, 4 months ago (2009-08-14 17:58:10 UTC) #9
kuchhal
Did you run the tests this time? On Fri, Aug 14, 2009 at 10:58 AM, ...
11 years, 4 months ago (2009-08-14 18:01:00 UTC) #10
Erik does not do reviews
http://codereview.chromium.org/164537/diff/1071/89 File chrome/installer/util/move_tree_work_item.cc (right): http://codereview.chromium.org/164537/diff/1071/89#newcode33 Line 33: FilePath backup_path = FilePath(backup_path_); sorry, but this still ...
11 years, 4 months ago (2009-08-14 18:01:11 UTC) #11
tfarina (gmail-do not use)
I ran all the tests required. http://codereview.chromium.org/164537/diff/1071/89 File chrome/installer/util/move_tree_work_item.cc (right): http://codereview.chromium.org/164537/diff/1071/89#newcode33 Line 33: FilePath backup_path ...
11 years, 4 months ago (2009-08-15 00:10:08 UTC) #12
tfarina (gmail-do not use)
Hi Erik, can you see if move_tree_work_item.cc is it right?
11 years, 4 months ago (2009-08-15 19:47:46 UTC) #13
Erik does not do reviews
LGTM http://codereview.chromium.org/164537/diff/2001/2020 File chrome/installer/util/move_tree_work_item.cc (right): http://codereview.chromium.org/164537/diff/2001/2020#newcode52 Line 52: << " to " << backup_path.value(); this ...
11 years, 4 months ago (2009-08-17 16:17:12 UTC) #14
tfarina (gmail-do not use)
http://codereview.chromium.org/164537/diff/2001/2020 File chrome/installer/util/move_tree_work_item.cc (right): http://codereview.chromium.org/164537/diff/2001/2020#newcode52 Line 52: << " to " << backup_path.value(); On 2009/08/17 ...
11 years, 4 months ago (2009-08-17 17:12:33 UTC) #15
Erik does not do reviews
Compile failure on Linux and Mac: http://build.chromium.org/buildbot/try-server/builders/linux/builds/13358/steps/compile/logs/stdio Erik On Mon, Aug 17, 2009 at 10:12 ...
11 years, 4 months ago (2009-08-17 17:53:53 UTC) #16
tfarina (gmail-do not use)
Fixed!
11 years, 4 months ago (2009-08-17 18:46:28 UTC) #17
Erik does not do reviews
Windows failure now: http://build.chromium.org/buildbot/try-server/builders/win/builds/14342/steps/compile/logs/stdio On Mon, Aug 17, 2009 at 11:46 AM, <thiago.farina@gmail.com> wrote: > ...
11 years, 4 months ago (2009-08-17 20:24:27 UTC) #18
tfarina (gmail-do not use)
11 years, 4 months ago (2009-08-17 21:38:01 UTC) #19
Removed CommandLine issue from the CL.

Powered by Google App Engine
This is Rietveld 408576698