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

Issue 6005: Cross-platform equivalent of fopen, _wfopen_s etc.... (Closed)

Created:
12 years, 2 months ago by please use my chromium address
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Cross-platform equivalent of fopen, _wfopen_s etc. This is refactoring needed for http://codereview.chromium.org/4247 (porting in chrome/browser/ ). BUG=2333

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -88 lines) Patch
M base/event_recorder.cc View 1 2 6 chunks +9 lines, -6 lines 0 comments Download
M base/file_util.h View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M base/file_util.cc View 1 2 3 chunks +10 lines, -10 lines 0 comments Download
M base/file_util_posix.cc View 1 2 chunks +9 lines, -0 lines 0 comments Download
M base/file_util_win.cc View 1 1 chunk +18 lines, -0 lines 1 comment Download
M base/gfx/vector_canvas_unittest.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M base/perftimer.cc View 1 3 chunks +6 lines, -8 lines 0 comments Download
M base/trace_event.cc View 1 3 chunks +5 lines, -27 lines 2 comments Download
M chrome/browser/download/download_file.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/download_file.cc View 1 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/history/thumbnail_database.cc View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/printing/printing_layout_uitest.cc View 1 2 3 4 2 chunks +4 lines, -5 lines 1 comment Download
M chrome/browser/spellchecker.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/third_party/hunspell/google/hunspell_tests.cc View 1 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/tools/convert_dict/aff_reader.cc View 1 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/tools/convert_dict/convert_dict.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/tools/convert_dict/dic_reader.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/tools/test/image_diff/image_diff.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
please use my chromium address
Please check if anyone else should review this. As with rest of my issues, I ...
12 years, 2 months ago (2008-09-30 09:25:52 UTC) #1
Dean McNamee
I didn't look for anything to nit for now, just a few design thoughts. Overall ...
12 years, 2 months ago (2008-09-30 13:32:19 UTC) #2
please use my chromium address
On 2008/09/30 13:32:19, Dean McNamee wrote: > I didn't look for anything to nit for ...
12 years, 2 months ago (2008-09-30 14:33:50 UTC) #3
Dean McNamee
Overall looks good. I am concerned that maybe in logging.cc and trace_event.cc, there was some ...
12 years, 2 months ago (2008-09-30 14:42:34 UTC) #4
brettw
http://codereview.chromium.org/6005/diff/226/29 File base/logging.cc (right): http://codereview.chromium.org/6005/diff/226/29#newcode166 Line 166: log_file = file_util::OpenFile(*log_file_name, "a"); I'm a little worried ...
12 years, 2 months ago (2008-09-30 15:25:30 UTC) #5
Mark Mentovai
This looks mostly good. http://codereview.chromium.org/6005/diff/226/33 File base/event_recorder.cc (right): http://codereview.chromium.org/6005/diff/226/33#newcode10 Line 10: #include "base/file_util.h" Sort http://codereview.chromium.org/6005/diff/226/31 ...
12 years, 2 months ago (2008-09-30 15:29:44 UTC) #6
please use my chromium address
On 2008/09/30 15:25:30, brettw wrote: > http://codereview.chromium.org/6005/diff/226/29 > File base/logging.cc (right): > > http://codereview.chromium.org/6005/diff/226/29#newcode166 > ...
12 years, 2 months ago (2008-09-30 15:30:32 UTC) #7
please use my chromium address
On 2008/09/30 15:29:44, Mark Mentovai wrote: > http://codereview.chromium.org/6005/diff/226/28#newcode252 > Line 252: FILE* OpenFile(const std::wstring& filename, ...
12 years, 2 months ago (2008-09-30 16:22:07 UTC) #8
Dean McNamee
Looks good enough for me. I am fine with the OpenFile overloading until we have ...
12 years, 2 months ago (2008-09-30 16:22:18 UTC) #9
please use my chromium address
On 2008/09/30 16:22:18, Dean McNamee wrote: > Looks good enough for me. I am fine ...
12 years, 2 months ago (2008-09-30 16:40:55 UTC) #10
please use my chromium address
*ping* - please take a look.
12 years, 2 months ago (2008-10-01 15:43:31 UTC) #11
Dean McNamee
You already have my LGTM. I will leave it up to Mark, and he can ...
12 years, 2 months ago (2008-10-01 16:27:17 UTC) #12
Mark Mentovai
Committed r2760 with the changes listed. Please have a look. http://codereview.chromium.org/6005/diff/279/119 File base/file_util_win.cc (right): http://codereview.chromium.org/6005/diff/279/119#newcode451 ...
12 years, 2 months ago (2008-10-01 17:40:55 UTC) #13
please use my chromium address
12 years, 2 months ago (2008-10-01 17:57:55 UTC) #14
On 2008/10/01 17:40:55, Mark Mentovai wrote:
> Committed r2760 with the changes listed.  Please have a look.

Thanks for fixing these last issues and commiting. Of course compiles fine and
passes tests here. After closing this review I will update
http://codereview.chromium.org/4247.

> http://codereview.chromium.org/6005/diff/279/124#newcode52
> Line 52: Log("var raw_trace_events = [\r\n");
> Followup patch to get rid of the \r or only emit it on Windows?
> 
> (Might be worth looking over the codebase for other \rs.)

I submitted http://code.google.com/p/chromium/issues/detail?id=3034 to handle
it. I can produce the patch, just have a few questions/doubts.

Powered by Google App Engine
This is Rietveld 408576698