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

Issue 2929002: Convert some tools to use FilePaths for file names. (Closed)

Created:
10 years, 5 months ago by Evan Martin
Modified:
9 years, 7 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews, pam+watch_chromium.org, brettw-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Convert some helper tools to use FilePaths for file names. Add a "PRFilePath" macro to file_path.h for use in printf'ing a FilePath. These are some of the last users of deprecated file_util functions (e.g. OpenFile(wstring, ...)). BUG=24672 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52391

Patch Set 1 #

Total comments: 1

Patch Set 2 : another try #

Patch Set 3 : rebase #

Total comments: 6

Patch Set 4 : ok #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -48 lines) Patch
M base/file_path.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M chrome/tools/convert_dict/aff_reader.h View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/tools/convert_dict/aff_reader.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/tools/convert_dict/convert_dict.cc View 1 2 3 4 chunks +15 lines, -10 lines 0 comments Download
M chrome/tools/convert_dict/convert_dict_unittest.cc View 1 chunk +2 lines, -9 lines 0 comments Download
M chrome/tools/convert_dict/dic_reader.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/tools/convert_dict/dic_reader.cc View 1 chunk +1 line, -2 lines 0 comments Download
M tools/imagediff/image_diff.cc View 1 6 chunks +39 lines, -22 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Evan Martin
I implemented your suggestions.
10 years, 5 months ago (2010-07-08 19:11:50 UTC) #1
Evan Martin
Hold off on reviewing, I'll ping again once I've sorted out trybots.
10 years, 5 months ago (2010-07-08 19:21:09 UTC) #2
Mark Mentovai
I’ll take another look when you’re ready, but… http://codereview.chromium.org/2929002/diff/1/2 File base/file_path.h (right): http://codereview.chromium.org/2929002/diff/1/2#newcode362 base/file_path.h:362: #define ...
10 years, 5 months ago (2010-07-08 20:28:30 UTC) #3
Evan Martin
OK, trybots worked (for as much as they "work", that is to say, compiled)
10 years, 5 months ago (2010-07-12 21:37:54 UTC) #4
Mark Mentovai
http://codereview.chromium.org/2929002/diff/9001/10004 File chrome/tools/convert_dict/convert_dict.cc (right): http://codereview.chromium.org/2929002/diff/9001/10004#newcode97 chrome/tools/convert_dict/convert_dict.cc:97: FilePath file_base = FilePath(argv[1]); #include "base/file_path.h"? http://codereview.chromium.org/2929002/diff/9001/10008 File tools/imagediff/image_diff.cc ...
10 years, 5 months ago (2010-07-12 21:45:19 UTC) #5
Evan Martin
http://codereview.chromium.org/2929002/diff/9001/10004 File chrome/tools/convert_dict/convert_dict.cc (right): http://codereview.chromium.org/2929002/diff/9001/10004#newcode97 chrome/tools/convert_dict/convert_dict.cc:97: FilePath file_base = FilePath(argv[1]); On 2010/07/12 21:45:19, Mark Mentovai ...
10 years, 5 months ago (2010-07-12 21:50:40 UTC) #6
Mark Mentovai
10 years, 5 months ago (2010-07-12 21:54:37 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698