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

Issue 7590011: FTP: add directory listing parser for OS/2 format. (Closed)

Created:
9 years, 4 months ago by Paweł Hajdan Jr.
Modified:
9 years, 4 months ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

FTP: add directory listing parser for OS/2 format. BUG=92154 TEST=navigate to ftp://ftp.os4.su/ - no errors should appear Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96275

Patch Set 1 #

Total comments: 9

Patch Set 2 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+355 lines, -109 lines) Patch
A net/data/ftp/dir-listing-os2-1 View 1 chunk +9 lines, -0 lines 0 comments Download
A net/data/ftp/dir-listing-os2-1.expected View 1 chunk +80 lines, -0 lines 0 comments Download
M net/ftp/ftp_directory_listing_parser.cc View 2 chunks +7 lines, -0 lines 0 comments Download
A net/ftp/ftp_directory_listing_parser_os2.h View 1 chunk +25 lines, -0 lines 0 comments Download
A net/ftp/ftp_directory_listing_parser_os2.cc View 1 1 chunk +77 lines, -0 lines 0 comments Download
A + net/ftp/ftp_directory_listing_parser_os2_unittest.cc View 2 chunks +37 lines, -47 lines 0 comments Download
M net/ftp/ftp_directory_listing_parser_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/ftp/ftp_directory_listing_parser_windows.cc View 2 chunks +4 lines, -60 lines 0 comments Download
M net/ftp/ftp_directory_listing_parser_windows_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/ftp/ftp_server_type_histograms.h View 1 chunk +2 lines, -0 lines 0 comments Download
M net/ftp/ftp_util.h View 1 chunk +5 lines, -0 lines 0 comments Download
M net/ftp/ftp_util.cc View 2 chunks +62 lines, -0 lines 0 comments Download
M net/ftp/ftp_util_unittest.cc View 1 1 chunk +41 lines, -0 lines 0 comments Download
M net/net.gyp View 1 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Paweł Hajdan Jr.
9 years, 4 months ago (2011-08-09 22:55:37 UTC) #1
eroman
lgtm http://codereview.chromium.org/7590011/diff/1/net/ftp/ftp_directory_listing_parser_os2.cc File net/ftp/ftp_directory_listing_parser_os2.cc (right): http://codereview.chromium.org/7590011/diff/1/net/ftp/ftp_directory_listing_parser_os2.cc#newcode18 net/ftp/ftp_directory_listing_parser_os2.cc:18: bool WindowsDateListingToTime(const std::vector<string16>& columns, Delete this. http://codereview.chromium.org/7590011/diff/1/net/ftp/ftp_directory_listing_parser_os2.h File ...
9 years, 4 months ago (2011-08-10 23:52:16 UTC) #2
Paweł Hajdan Jr.
http://codereview.chromium.org/7590011/diff/1/net/ftp/ftp_directory_listing_parser_os2.cc File net/ftp/ftp_directory_listing_parser_os2.cc (right): http://codereview.chromium.org/7590011/diff/1/net/ftp/ftp_directory_listing_parser_os2.cc#newcode18 net/ftp/ftp_directory_listing_parser_os2.cc:18: bool WindowsDateListingToTime(const std::vector<string16>& columns, On 2011/08/10 23:52:16, eroman wrote: ...
9 years, 4 months ago (2011-08-11 00:03:19 UTC) #3
eroman
9 years, 4 months ago (2011-08-11 00:09:20 UTC) #4
lgtm

http://codereview.chromium.org/7590011/diff/1/net/ftp/ftp_directory_listing_p...
File net/ftp/ftp_directory_listing_parser_os2.h (right):

http://codereview.chromium.org/7590011/diff/1/net/ftp/ftp_directory_listing_p...
net/ftp/ftp_directory_listing_parser_os2.h:19: NET_TEST bool
ParseFtpDirectoryListingOS2(
On 2011/08/11 00:03:19, Paweł Hajdan Jr. wrote:
> On 2011/08/10 23:52:16, eroman wrote:
> > Why is this NET_TEST? Can it be NET_API instead
> 
> This should be used only via ParseFtpDirectoryListing, which is NET_API. All
> other "sub-parsers" are NET_TEST.

Ah, I was confused. Yes, this is right then.

Powered by Google App Engine
This is Rietveld 408576698