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 #include "net/ftp/ftp_directory_listing_parser_os2.h" | 5 #include "net/ftp/ftp_directory_listing_parser_os2.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/string_number_conversions.h" | 9 #include "base/string_number_conversions.h" |
10 #include "base/string_split.h" | |
11 #include "base/string_util.h" | 10 #include "base/string_util.h" |
| 11 #include "base/strings/string_split.h" |
12 #include "base/time.h" | 12 #include "base/time.h" |
13 #include "net/ftp/ftp_directory_listing_parser.h" | 13 #include "net/ftp/ftp_directory_listing_parser.h" |
14 #include "net/ftp/ftp_util.h" | 14 #include "net/ftp/ftp_util.h" |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 | 17 |
18 bool ParseFtpDirectoryListingOS2( | 18 bool ParseFtpDirectoryListingOS2( |
19 const std::vector<string16>& lines, | 19 const std::vector<string16>& lines, |
20 std::vector<FtpDirectoryListingEntry>* entries) { | 20 std::vector<FtpDirectoryListingEntry>* entries) { |
21 for (size_t i = 0; i < lines.size(); i++) { | 21 for (size_t i = 0; i < lines.size(); i++) { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 continue; | 68 continue; |
69 } | 69 } |
70 | 70 |
71 entries->push_back(entry); | 71 entries->push_back(entry); |
72 } | 72 } |
73 | 73 |
74 return true; | 74 return true; |
75 } | 75 } |
76 | 76 |
77 } // namespace net | 77 } // namespace net |
OLD | NEW |