summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-28 17:00:49 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-28 17:00:49 +0000
commit1d799ddcfcf7925b8fb8aeb6070f33eb5c4e0826 (patch)
treef0bd0656066f48929f2f82c5dfc66dd45804c133 /base
parent792785dd30f0ac1a7fc0dbf0f56e975795170feb (diff)
downloadchromium_src-1d799ddcfcf7925b8fb8aeb6070f33eb5c4e0826.zip
chromium_src-1d799ddcfcf7925b8fb8aeb6070f33eb5c4e0826.tar.gz
chromium_src-1d799ddcfcf7925b8fb8aeb6070f33eb5c4e0826.tar.bz2
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
Diffstat (limited to 'base')
-rw-r--r--base/string_util.h2
1 files changed, 2 insertions, 0 deletions
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);