Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / net / ftp / ftp_directory_listing_parser_ls.h
blob9f7020f8ac922f429a2fcd9a7951ffa5ff83a858
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_LS_H_
6 #define NET_FTP_FTP_DIRECTORY_LISTING_PARSER_LS_H_
8 #include <vector>
10 #include "base/strings/string16.h"
11 #include "net/base/net_export.h"
13 namespace base {
14 class Time;
17 namespace net {
19 struct FtpDirectoryListingEntry;
21 // Parses "ls -l" FTP directory listing. Returns true on success.
22 NET_EXPORT_PRIVATE bool ParseFtpDirectoryListingLs(
23 const std::vector<base::string16>& lines,
24 const base::Time& current_time,
25 std::vector<FtpDirectoryListingEntry>* entries);
27 } // namespace net
29 #endif // NET_FTP_FTP_DIRECTORY_LISTING_PARSER_LS_H_