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

Side by Side Diff: net/ftp/ftp_directory_listing_parser_mlsd.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, 3 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #include "net/ftp/ftp_directory_listing_parser_mlsd.h" 5 #include "net/ftp/ftp_directory_listing_parser_mlsd.h"
6 6
7 #include <map> 7 #include <map>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/stl_util-inl.h" 10 #include "base/stl_util-inl.h"
11 #include "base/string_number_conversions.h" 11 #include "base/string_number_conversions.h"
12 #include "base/string_split.h"
12 #include "base/string_util.h" 13 #include "base/string_util.h"
13 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
14 15
15 // You can read the specification of the MLSD format at 16 // You can read the specification of the MLSD format at
16 // http://tools.ietf.org/html/rfc3659#page-23. 17 // http://tools.ietf.org/html/rfc3659#page-23.
17 18
18 namespace { 19 namespace {
19 20
20 // The MLSD date listing is specified at 21 // The MLSD date listing is specified at
21 // http://tools.ietf.org/html/rfc3659#page-6. 22 // http://tools.ietf.org/html/rfc3659#page-6.
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 } 124 }
124 125
125 FtpDirectoryListingEntry FtpDirectoryListingParserMlsd::PopEntry() { 126 FtpDirectoryListingEntry FtpDirectoryListingParserMlsd::PopEntry() {
126 DCHECK(EntryAvailable()); 127 DCHECK(EntryAvailable());
127 FtpDirectoryListingEntry entry = entries_.front(); 128 FtpDirectoryListingEntry entry = entries_.front();
128 entries_.pop(); 129 entries_.pop();
129 return entry; 130 return entry;
130 } 131 }
131 132
132 } // namespace net 133 } // namespace net
OLDNEW
« no previous file with comments | « net/ftp/ftp_directory_listing_parser_ls.cc ('k') | net/ftp/ftp_directory_listing_parser_netware.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698