OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_ls.h" | 5 #include "net/ftp/ftp_directory_listing_parser_ls.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 "base/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
14 #include "net/ftp/ftp_directory_listing_parser.h" | 14 #include "net/ftp/ftp_directory_listing_parser.h" |
15 #include "net/ftp/ftp_util.h" | 15 #include "net/ftp/ftp_util.h" |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
19 bool TwoColumnDateListingToTime(const string16& date, | 19 bool TwoColumnDateListingToTime(const string16& date, |
20 const string16& time, | 20 const string16& time, |
21 base::Time* result) { | 21 base::Time* result) { |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 entry.name = entry.name.substr(0, pos); | 224 entry.name = entry.name.substr(0, pos); |
225 } | 225 } |
226 | 226 |
227 entries->push_back(entry); | 227 entries->push_back(entry); |
228 } | 228 } |
229 | 229 |
230 return true; | 230 return true; |
231 } | 231 } |
232 | 232 |
233 } // namespace net | 233 } // namespace net |
OLD | NEW |