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

Unified Diff: net/base/host_mapping_rules.cc

Issue 12087091: Move string tokenizer to base/strings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort Created 7 years, 11 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 | « gpu/command_buffer/service/test_helper.cc ('k') | net/base/mapped_host_resolver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/host_mapping_rules.cc
diff --git a/net/base/host_mapping_rules.cc b/net/base/host_mapping_rules.cc
index effea598a6683e1a3319554bfba07efe34d8526f..776d4d32bf632c8b88adabd780db154fcd985bbb 100644
--- a/net/base/host_mapping_rules.cc
+++ b/net/base/host_mapping_rules.cc
@@ -6,8 +6,8 @@
#include "base/logging.h"
#include "base/string_split.h"
-#include "base/string_tokenizer.h"
#include "base/string_util.h"
+#include "base/strings/string_tokenizer.h"
#include "net/base/host_port_pair.h"
#include "net/base/net_util.h"
@@ -100,7 +100,7 @@ void HostMappingRules::SetRulesFromString(const std::string& rules_string) {
exclusion_rules_.clear();
map_rules_.clear();
- StringTokenizer rules(rules_string, ",");
+ base::StringTokenizer rules(rules_string, ",");
while (rules.GetNext()) {
bool ok = AddRuleFromString(rules.token());
LOG_IF(ERROR, !ok) << "Failed parsing rule: " << rules.token();
« no previous file with comments | « gpu/command_buffer/service/test_helper.cc ('k') | net/base/mapped_host_resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698