Chromium Code Reviews| Index: net/ftp/ftp_directory_listing_parser_os2.h |
| diff --git a/net/ftp/ftp_directory_listing_parser_os2.h b/net/ftp/ftp_directory_listing_parser_os2.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..356b5b7b65b2cec889dba8b77dc357d7d0222114 |
| --- /dev/null |
| +++ b/net/ftp/ftp_directory_listing_parser_os2.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef NET_FTP_FTP_DIRECTORY_LISTING_PARSER_OS2_H_ |
| +#define NET_FTP_FTP_DIRECTORY_LISTING_PARSER_OS2_H_ |
| +#pragma once |
| + |
| +#include <vector> |
| + |
| +#include "base/string16.h" |
| +#include "net/base/net_api.h" |
| + |
| +namespace net { |
| + |
| +struct FtpDirectoryListingEntry; |
| + |
| +// Parses OS/2 FTP directory listing. Returns true on success. |
| +NET_TEST bool ParseFtpDirectoryListingOS2( |
|
eroman
2011/08/10 23:52:16
Why is this NET_TEST? Can it be NET_API instead
Paweł Hajdan Jr.
2011/08/11 00:03:19
This should be used only via ParseFtpDirectoryList
eroman
2011/08/11 00:09:20
Ah, I was confused. Yes, this is right then.
|
| + const std::vector<string16>& lines, |
| + std::vector<FtpDirectoryListingEntry>* entries); |
| + |
| +} // namespace net |
| + |
| +#endif // NET_FTP_FTP_DIRECTORY_LISTING_PARSER_OS2_H_ |