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

Issue 39130: FTP Transaction code for new Portable FTP(Patch SET-3) (Closed)

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

Description

[Replaced by http://codereview.chromium.org/115137 ] BUG=4965 R=darin,wtc,dank,eroman Description: FTP Transaction code for new Portable FTP code

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 69

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 41

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 5

Patch Set 10 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+878 lines, -100 lines) Patch
M net/ftp/ftp_network_layer.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M net/ftp/ftp_network_layer.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -4 lines 0 comments Download
M net/ftp/ftp_network_session.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M net/ftp/ftp_network_transaction.h View 1 2 3 4 5 6 7 8 6 chunks +105 lines, -9 lines 0 comments Download
M net/ftp/ftp_network_transaction.cc View 1 2 3 4 5 6 7 8 9 7 chunks +590 lines, -39 lines 0 comments Download
M net/ftp/ftp_request_info.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -6 lines 0 comments Download
M net/ftp/ftp_response_info.h View 1 2 3 4 5 6 7 1 chunk +10 lines, -5 lines 0 comments Download
M net/ftp/ftp_transaction.h View 1 2 3 4 5 6 7 8 9 3 chunks +6 lines, -4 lines 0 comments Download
M net/url_request/url_request_new_ftp_job.h View 2 3 4 5 6 7 8 9 3 chunks +11 lines, -4 lines 0 comments Download
M net/url_request/url_request_new_ftp_job.cc View 2 3 4 5 6 7 8 9 2 chunks +141 lines, -28 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
ibrar
11 years, 9 months ago (2009-03-04 13:47:35 UTC) #1
wtc
Hi Ibrar, Thanks a lot for the CL. I didn't review the actual protocol implementation ...
11 years, 8 months ago (2009-04-07 19:20:24 UTC) #2
ibrar
Hi wtc, Thanks for your review. I have done almost all the things you have ...
11 years, 8 months ago (2009-04-17 06:10:55 UTC) #3
wtc
http://codereview.chromium.org/39130/diff/2001/3011 File net/url_request/url_request_new_ftp_job.cc (right): http://codereview.chromium.org/39130/diff/2001/3011#newcode201 Line 201: } else { On 2009/04/17 06:10:55, ibrar wrote: ...
11 years, 7 months ago (2009-04-28 18:04:25 UTC) #4
wtc
Sorry about the late review. Thanks for addressing my previous review comments. I have some ...
11 years, 7 months ago (2009-04-28 21:55:07 UTC) #5
ibrar
WTC, Thanks for your kind review. http://codereview.chromium.org/39130/diff/12008/12011 File net/ftp/ftp_network_layer.h (right): http://codereview.chromium.org/39130/diff/12008/12011#newcode9 Line 9: #include "net/ftp/ftp_auth_cache.h" ...
11 years, 7 months ago (2009-05-02 10:57:28 UTC) #6
wtc
http://codereview.chromium.org/39130/diff/12008/12017 File net/url_request/url_request_new_ftp_job.h (right): http://codereview.chromium.org/39130/diff/12008/12017#newcode14 Line 14: #include "net/ftp/ftp_response_info.h" On 2009/05/02 10:57:28, ibrar wrote: > ...
11 years, 7 months ago (2009-05-07 00:12:03 UTC) #7
wtc
http://codereview.chromium.org/39130/diff/15016/15023 File net/ftp/ftp_network_transaction.cc (right): http://codereview.chromium.org/39130/diff/15016/15023#newcode322 Line 322: DidFinishDnsResolutionWithStatus(ok, static_cast<GURL>(std::string()), this); Just pass GURL() here.
11 years, 7 months ago (2009-05-07 00:14:55 UTC) #8
ibrar
11 years, 7 months ago (2009-05-07 10:51:31 UTC) #9
http://codereview.chromium.org/39130/diff/12008/12017
File net/url_request/url_request_new_ftp_job.h (right):

http://codereview.chromium.org/39130/diff/12008/12017#newcode14
Line 14: #include "net/ftp/ftp_response_info.h"
On 2009/05/07 00:12:03, wtc wrote:
> On 2009/05/02 10:57:28, ibrar wrote:
> > 
> > I think not!. I have removed forward declaration BTW.
> 
> Is it because you misspelled FtpResponseInfo?
> 
> In any case, please remove the forward declaration of FTPResponseInfo (note
the
> all capital "FTP").
> 
> I believe we can also remove the "net/ftp/ftp_response_info.h"
> and the response_info_ member.
> 
Forward declaration and net/ftp/ftp_response_info.h removed but cannot remove
response_info_ at this time.

http://codereview.chromium.org/39130/diff/15016/15023
File net/ftp/ftp_network_transaction.cc (right):

http://codereview.chromium.org/39130/diff/15016/15023#newcode322
Line 322: DidFinishDnsResolutionWithStatus(ok, static_cast<GURL>(std::string()),
this);
On 2009/05/07 00:14:55, wtc wrote:
> Just pass GURL() here.

Done.

http://codereview.chromium.org/39130/diff/15016/15026
File net/url_request/url_request_new_ftp_job.cc (right):

http://codereview.chromium.org/39130/diff/15016/15026#newcode66
Line 66: response_info_ = transaction_->GetResponseInfo();
On 2009/05/07 00:12:03, wtc wrote:
> We can just use a local variable 'response_info' in this
> method.  We don't need the 'response_info_' member.

Actually I am using response_info_ == NULL as flag (is it first time call of
ReadRawData or subsequent calls of that function). If we want to make it local I
have to rethink the logic.

Powered by Google App Engine
This is Rietveld 408576698