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

Unified Diff: chrome/tools/convert_dict/aff_reader.cc

Issue 3750001: base: Move SplitString functions into the base namespace and update the callers. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: brett review, reverted changes in o3d due to it's using an old base revision Created 10 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/webdriver/dispatch.h ('k') | chrome_frame/chrome_frame_activex.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/tools/convert_dict/aff_reader.cc
diff --git a/chrome/tools/convert_dict/aff_reader.cc b/chrome/tools/convert_dict/aff_reader.cc
index 6e558f451cc53673f215259f8ca852bffccb89c8..f9869b3ecd354802de80b714d5f30044ea92843f 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)
« no previous file with comments | « chrome/test/webdriver/dispatch.h ('k') | chrome_frame/chrome_frame_activex.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698