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

Issue 115137: FTP Transaction code for new Portable FTP code.... (Closed)

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

Description

FTP Transaction code for new Portable FTP code. The patch is contributed by Ibrar Ahmed <ibrar.ahmad@gmail.com>;. Original review: http://codereview.chromium.org/39130 R=wtc http://crbug.com/4965 TEST=None. Work in progress. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=15760

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix style issues; add TODOs #

Patch Set 3 : Fix compilation errors #

Total comments: 3

Patch Set 4 : Add ftp_transaction_factory.h to the CL #

Patch Set 5 : Fix Linux compilation errors. Use d for int. #

Total comments: 4

Patch Set 6 : Upload before checkin #

Unified diffs Side-by-side diffs Delta from patch set Stats (+907 lines, -114 lines) Patch
M net/ftp/ftp_network_layer.h View 1 chunk +3 lines, -1 line 0 comments Download
M net/ftp/ftp_network_layer.cc View 1 2 chunks +5 lines, -4 lines 0 comments Download
M net/ftp/ftp_network_transaction.h View 1 2 3 4 5 chunks +115 lines, -14 lines 0 comments Download
M net/ftp/ftp_network_transaction.cc View 1 2 3 4 6 chunks +609 lines, -44 lines 0 comments Download
M net/ftp/ftp_request_info.h View 1 chunk +6 lines, -6 lines 0 comments Download
M net/ftp/ftp_response_info.h View 1 chunk +10 lines, -5 lines 0 comments Download
M net/ftp/ftp_transaction.h View 1 4 chunks +6 lines, -3 lines 0 comments Download
M net/ftp/ftp_transaction_factory.h View 2 chunks +0 lines, -4 lines 0 comments Download
M net/url_request/url_request_new_ftp_job.h View 1 3 chunks +10 lines, -4 lines 0 comments Download
M net/url_request/url_request_new_ftp_job.cc View 1 2 chunks +143 lines, -29 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
wtc
Ibrar, I'm preparing to check in your FTP CL 3.
11 years, 7 months ago (2009-05-08 18:23:39 UTC) #1
wtc
Ibrar, I made some changes to fix style issues and compilation errors. Please study the ...
11 years, 7 months ago (2009-05-08 20:39:07 UTC) #2
wtc
11 years, 7 months ago (2009-05-08 21:37:30 UTC) #3
Ibrar,

The following are changes I had to make to fix compilation
errors on Linux.

http://codereview.chromium.org/115137/diff/40/46
File net/ftp/ftp_network_transaction.cc (right):

http://codereview.chromium.org/115137/diff/40/46#newcode19
Line 19: #define sscanf_s sscanf
sscanf_s doesn't exist on Mac and Linux.  We should find an
alternative.

http://codereview.chromium.org/115137/diff/40/46#newcode31
Line 31: : command_sent_(COMMAND_NONE),
GCC warns if the initializer list doesn't list the members
in the same order they're declared in the header.

http://codereview.chromium.org/115137/diff/40/46#newcode579
Line 579: if (sscanf_s(ptr, "%d,%d,%d,%d,%d,%d",
The %ld format matches 'long'.  Since i0, i1, ..., p1 are all
'int', we have to use the %d format.

http://codereview.chromium.org/115137/diff/40/47
File net/ftp/ftp_network_transaction.h (right):

http://codereview.chromium.org/115137/diff/40/47#newcode147
Line 147: scoped_refptr<IOBuffer> response_message_buf_;
IOBuffer is a reference-counted type, and therefore must
always be stored in a scoped_refptr.

Powered by Google App Engine
This is Rietveld 408576698