Upstream changes for NetworkQualityProvider
[chromium-blink-merge.git] / net / ftp / ftp_directory_listing_parser_vms.h
blob98e6a9275bd0a571f22dfd9649c6850124809768
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
3 // found in the LICENSE file.
5 #ifndef NET_FTP_FTP_DIRECTORY_LISTING_PARSER_VMS_H_
6 #define NET_FTP_FTP_DIRECTORY_LISTING_PARSER_VMS_H_
8 #include <vector>
10 #include "base/strings/string16.h"
11 #include "net/base/net_export.h"
13 namespace net {
15 struct FtpDirectoryListingEntry;
17 // Parses VMS FTP directory listing. Returns true on success.
18 NET_EXPORT_PRIVATE bool ParseFtpDirectoryListingVms(
19 const std::vector<base::string16>& lines,
20 std::vector<FtpDirectoryListingEntry>* entries);
22 } // namespace net
24 #endif // NET_FTP_FTP_DIRECTORY_LISTING_PARSER_VMS_H_