From 1d799ddcfcf7925b8fb8aeb6070f33eb5c4e0826 Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Wed, 28 Oct 2009 17:00:49 +0000 Subject: First parts of new FTP LIST response parsing code. Added parser for "ls" listing style, and tests. This is not yet used by the browser (will do that in a following CL). TEST=Covered by net_unittests. BUG=25520 Review URL: http://codereview.chromium.org/244008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30354 0039d316-1c4b-4281-b951-d872f2087c98 --- base/string_util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'base/string_util.h') diff --git a/base/string_util.h b/base/string_util.h index 6a69ad5..f128f99 100644 --- a/base/string_util.h +++ b/base/string_util.h @@ -174,6 +174,8 @@ TrimPositions TrimWhitespace(const std::string& input, // (3) All other whitespace sequences are converted to single spaces. std::wstring CollapseWhitespace(const std::wstring& text, bool trim_sequences_with_line_breaks); +string16 CollapseWhitespace(const string16& text, + bool trim_sequences_with_line_breaks); std::string CollapseWhitespaceASCII(const std::string& text, bool trim_sequences_with_line_breaks); -- cgit v1.1