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

Unified Diff: net/base/net_util_posix.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 | « net/base/net_util.cc ('k') | net/base/x509_certificate_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_util_posix.cc
diff --git a/net/base/net_util_posix.cc b/net/base/net_util_posix.cc
index 0829a71f35abd8aea31d225d70bfcc4888384b3c..f66ae97b09bcb8d367031ebaaa75a994fe43b746 100644
--- a/net/base/net_util_posix.cc
+++ b/net/base/net_util_posix.cc
@@ -9,8 +9,8 @@
#include "base/file_path.h"
#include "base/logging.h"
#include "base/posix/eintr_wrapper.h"
-#include "base/string_tokenizer.h"
#include "base/string_util.h"
+#include "base/strings/string_tokenizer.h"
#include "base/threading/thread_restrictions.h"
#include "googleurl/src/gurl.h"
#include "net/base/escape.h"
@@ -66,10 +66,10 @@ bool FileURLToFilePath(const GURL& url, FilePath* path) {
bool GetNetworkList(NetworkInterfaceList* networks) {
#if defined(OS_ANDROID)
std::string network_list = android::GetNetworkList();
- StringTokenizer network_interfaces(network_list, ";");
+ base::StringTokenizer network_interfaces(network_list, ";");
while (network_interfaces.GetNext()) {
std::string network_item = network_interfaces.token();
- StringTokenizer network_tokenizer(network_item, ",");
+ base::StringTokenizer network_tokenizer(network_item, ",");
std::string name;
if (!network_tokenizer.GetNext())
continue;
« no previous file with comments | « net/base/net_util.cc ('k') | net/base/x509_certificate_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698