summaryrefslogtreecommitdiffstats
path: root/chrome/tools
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-14 00:35:36 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-14 00:35:36 +0000
commit76eb0247d08fa6c503517ec1a0cb8e6566cd39c7 (patch)
treee14c2632fab2f76df22827fe0c7908fd54240699 /chrome/tools
parent7f8aff5b10859950cf9a6996a5d3d288ea3c75f4 (diff)
downloadchromium_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 'chrome/tools')
-rw-r--r--chrome/tools/convert_dict/aff_reader.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/tools/convert_dict/aff_reader.cc b/chrome/tools/convert_dict/aff_reader.cc
index 6e558f4..f9869b3 100644
--- a/chrome/tools/convert_dict/aff_reader.cc
+++ b/chrome/tools/convert_dict/aff_reader.cc
@@ -221,7 +221,7 @@ void AffReader::AddAffix(std::string* rule) {
// a compound flag as listed below.
// AFX D 0 d/M e
std::vector<std::string> tokens;
- SplitString(part, ' ', &tokens);
+ base::SplitString(part, ' ', &tokens);
if (tokens.size() >= 5) {
part = StringPrintf("%s %s/%s %s",
tokens[0].c_str(),
@@ -248,7 +248,7 @@ void AffReader::AddAffix(std::string* rule) {
// After the slash are both the flags, then whitespace, then the part
// that tells us what to strip.
std::vector<std::string> after_slash;
- SplitString(part.substr(slash_index + 1), ' ', &after_slash);
+ base::SplitString(part.substr(slash_index + 1), ' ', &after_slash);
if (after_slash.size() < 2) {
// Note that we may get a third term here which is the
// morphological description of this rule. This happens in the tests
@@ -287,7 +287,7 @@ void AffReader::AddReplacement(std::string* rule) {
return;
std::vector<std::string> split;
- SplitString(utf8rule, ' ', &split);
+ base::SplitString(utf8rule, ' ', &split);
// There should be two parts.
if (split.size() != 2)