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

Unified Diff: chromeos/network/network_util.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 | « chrome_frame/utils.cc ('k') | content/app/android/library_loader_hooks.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/network_util.cc
diff --git a/chromeos/network/network_util.cc b/chromeos/network/network_util.cc
index 6ed6d7d0cb79dbcc4094567c3fc741737e6373e6..c0497ad68e72fa00d688bafa4250c84b368f82c6 100644
--- a/chromeos/network/network_util.cc
+++ b/chromeos/network/network_util.cc
@@ -4,8 +4,8 @@
#include "chromeos/network/network_util.h"
-#include "base/string_tokenizer.h"
#include "base/stringprintf.h"
+#include "base/strings/string_tokenizer.h"
namespace chromeos {
@@ -51,7 +51,7 @@ std::string PrefixLengthToNetmask(int32 prefix_length) {
int32 NetmaskToPrefixLength(const std::string& netmask) {
int count = 0;
int prefix_length = 0;
- StringTokenizer t(netmask, ".");
+ base::StringTokenizer t(netmask, ".");
while (t.GetNext()) {
// If there are more than 4 numbers, then it's invalid.
if (count == 4)
« no previous file with comments | « chrome_frame/utils.cc ('k') | content/app/android/library_loader_hooks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698