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

Issue 197050: Return ERR_FILE_NOT_FOUND from FtpNetworkTransaction when we can. (Closed)

Created:
11 years, 3 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
Reviewers:
eroman, wtc
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Return ERR_FILE_NOT_FOUND from FtpNetworkTransaction when we can. This way it provides more specific error code for the user. TEST=Covered by net_unittests. http://crbug.com/20405 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=25771

Patch Set 1 #

Total comments: 1

Patch Set 2 : clarify #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -3 lines) Patch
M net/ftp/ftp_network_transaction.cc View 1 2 chunks +12 lines, -1 line 1 comment Download
M net/ftp/ftp_network_transaction_unittest.cc View 3 chunks +22 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Paweł Hajdan Jr.
11 years, 3 months ago (2009-09-08 22:54:32 UTC) #1
wtc
This CL looks good to me, but I'd like you to explain it to me ...
11 years, 3 months ago (2009-09-09 01:34:28 UTC) #2
Paweł Hajdan Jr.
You're right, it's not clear at all. Please see the added comment.
11 years, 3 months ago (2009-09-09 17:37:01 UTC) #3
wtc
11 years, 3 months ago (2009-09-09 18:41:31 UTC) #4
http://codereview.chromium.org/197050/diff/1004/5
File net/ftp/ftp_network_transaction.cc (right):

http://codereview.chromium.org/197050/diff/1004/5#newcode837
Line 837: retr_failed_ = true;
My question is: are we going to try the CWD command next?
I still don't see the relation between RETR and CWD.

Powered by Google App Engine
This is Rietveld 408576698