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( |
+ const std::vector<string16>& lines, |
+ std::vector<FtpDirectoryListingEntry>* entries); |
+ |
+} // namespace net |
+ |
+#endif // NET_FTP_FTP_DIRECTORY_LISTING_PARSER_OS2_H_ |