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

Issue 165386: Fix crash with new FTP in Incognito mode. (Closed)

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

Description

Fix crash with new FTP in Incognito mode. TEST=See bug. http://crbug.com/18697 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=23190

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M chrome/browser/net/chrome_url_request_context.cc View 1 chunk +11 lines, -0 lines 2 comments Download

Messages

Total messages: 2 (0 generated)
Paweł Hajdan Jr.
11 years, 4 months ago (2009-08-12 17:10:10 UTC) #1
wtc
11 years, 4 months ago (2009-08-12 17:25:50 UTC) #2
LGTM.

Note: Since you're already working on this code, after
you check in this CL, could you write a new CL to switch
to new FTP by default?  That should be a separate CL because
we need to merge this CL into 3.0.

http://codereview.chromium.org/165386/diff/1/2
File chrome/browser/net/chrome_url_request_context.cc (right):

http://codereview.chromium.org/165386/diff/1/2#newcode210
Line 210: // The kNewFtp switch is Windows specific only because we have
multiple FTP
Nit: pick one of "specific" and "only".  We don't need both.

Hmm... I wonder if I wrote this comment :-)

Have you thought about whether the OTR URL request context
can just use the FTP transaction factory of the original
profile?  It seems that would be problematic when we start
to cache FTP directory listings.

http://codereview.chromium.org/165386/diff/1/2#newcode277
Line 277: context->http_transaction_factory_ = cache;
I wonder if we should set ftp_transaction_factory_ for
other kinds of ChromeURLRequestContext, for example, here.

Powered by Google App Engine
This is Rietveld 408576698