diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-14 00:35:36 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-14 00:35:36 +0000 |
commit | 76eb0247d08fa6c503517ec1a0cb8e6566cd39c7 (patch) | |
tree | e14c2632fab2f76df22827fe0c7908fd54240699 /base/string_split.h | |
parent | 7f8aff5b10859950cf9a6996a5d3d288ea3c75f4 (diff) | |
download | chromium_src-76eb0247d08fa6c503517ec1a0cb8e6566cd39c7.zip chromium_src-76eb0247d08fa6c503517ec1a0cb8e6566cd39c7.tar.gz chromium_src-76eb0247d08fa6c503517ec1a0cb8e6566cd39c7.tar.bz2 |
base: Move SplitString functions into the base namespace and update the callers.
BUG=None
TEST=trybots
Review URL: http://codereview.chromium.org/3750001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62483 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/string_split.h')
-rw-r--r-- | base/string_split.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/base/string_split.h b/base/string_split.h index c7cb5e7..9e1af19 100644 --- a/base/string_split.h +++ b/base/string_split.h @@ -12,9 +12,7 @@ #include "base/string16.h" -// TODO(tfarina): Move the following functions into the namespace and update the -// callers. -//----------------------------------------------------------------------------- +namespace base { // Splits |str| into a vector of strings delimited by |s|. Append the results // into |r| as they appear. If several instances of |s| are contiguous, or if @@ -39,8 +37,6 @@ void SplitString(const std::string& str, char c, std::vector<std::string>* r); -namespace base { - bool SplitStringIntoKeyValues( const std::string& line, char key_value_delimiter, |