Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: net/ftp/ftp_directory_listing_parser_windows.cc

Issue 3447008: base: Finish moving the SplitString functions from string_util.h to string_split.h (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: chromeos fixes Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/ftp/ftp_directory_listing_parser_vms_unittest.cc ('k') | net/http/http_network_layer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // source code is governed by a BSD-style license that can be found in the 2 // Use of this source code is governed by a BSD-style license that can be
3 // LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/ftp/ftp_directory_listing_parser_windows.h" 5 #include "net/ftp/ftp_directory_listing_parser_windows.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"
10 #include "base/string_util.h" 11 #include "base/string_util.h"
11 #include "net/ftp/ftp_util.h" 12 #include "net/ftp/ftp_util.h"
12 13
13 namespace { 14 namespace {
14 15
15 bool WindowsDateListingToTime(const std::vector<string16>& columns, 16 bool WindowsDateListingToTime(const std::vector<string16>& columns,
16 base::Time* time) { 17 base::Time* time) {
17 DCHECK_LE(4U, columns.size()); 18 DCHECK_LE(4U, columns.size());
18 19
19 base::Time::Exploded time_exploded = { 0 }; 20 base::Time::Exploded time_exploded = { 0 };
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 return !entries_.empty(); 114 return !entries_.empty();
114 } 115 }
115 116
116 FtpDirectoryListingEntry FtpDirectoryListingParserWindows::PopEntry() { 117 FtpDirectoryListingEntry FtpDirectoryListingParserWindows::PopEntry() {
117 FtpDirectoryListingEntry entry = entries_.front(); 118 FtpDirectoryListingEntry entry = entries_.front();
118 entries_.pop(); 119 entries_.pop();
119 return entry; 120 return entry;
120 } 121 }
121 122
122 } // namespace net 123 } // namespace net
OLDNEW
« no previous file with comments | « net/ftp/ftp_directory_listing_parser_vms_unittest.cc ('k') | net/http/http_network_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698