blob: 42ec4fc6a3a2780ce486e4309dd7de883b5b8109 [file] [log] [blame]
// 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.
#include <string>
#include <vector>
#include "net/base/net_export.h"
namespace base {
class Time;
namespace net {
struct FtpDirectoryListingEntry;
// Parses "ls -l" FTP directory listing. Returns true on success.
NET_EXPORT_PRIVATE bool ParseFtpDirectoryListingLs(
const std::vector<std::u16string>& lines,
const base::Time& current_time,
std::vector<FtpDirectoryListingEntry>* entries);
} // namespace net