| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_FTP_FTP_DIRECTORY_LISTING_PARSER_VMS_H_ | 5 #ifndef NET_FTP_FTP_DIRECTORY_LISTING_PARSER_VMS_H_ |
| 6 #define NET_FTP_FTP_DIRECTORY_LISTING_PARSER_VMS_H_ | 6 #define NET_FTP_FTP_DIRECTORY_LISTING_PARSER_VMS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/string16.h" | 11 #include "base/string16.h" |
| 12 #include "net/base/net_api.h" | 12 #include "net/base/net_export.h" |
| 13 | 13 |
| 14 namespace net { | 14 namespace net { |
| 15 | 15 |
| 16 struct FtpDirectoryListingEntry; | 16 struct FtpDirectoryListingEntry; |
| 17 | 17 |
| 18 // Parses VMS FTP directory listing. Returns true on success. | 18 // Parses VMS FTP directory listing. Returns true on success. |
| 19 NET_TEST bool ParseFtpDirectoryListingVms( | 19 NET_EXPORT_PRIVATE bool ParseFtpDirectoryListingVms( |
| 20 const std::vector<string16>& lines, | 20 const std::vector<string16>& lines, |
| 21 std::vector<FtpDirectoryListingEntry>* entries); | 21 std::vector<FtpDirectoryListingEntry>* entries); |
| 22 | 22 |
| 23 } // namespace net | 23 } // namespace net |
| 24 | 24 |
| 25 #endif // NET_FTP_FTP_DIRECTORY_LISTING_PARSER_VMS_H_ | 25 #endif // NET_FTP_FTP_DIRECTORY_LISTING_PARSER_VMS_H_ |
| OLD | NEW |