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

Unified Diff: net/ftp/ftp_directory_listing_parser_os2.h

Issue 7590011: FTP: add directory listing parser for OS/2 format. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698