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

Unified Diff: net/tools/hresolv/hresolv.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 | « net/http/http_stream_factory.cc ('k') | net/websockets/websocket_job_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/hresolv/hresolv.cc
diff --git a/net/tools/hresolv/hresolv.cc b/net/tools/hresolv/hresolv.cc
index c5c1976c52de6c9f32e987f6989ebb1f285406e7..b5af4ae439e6d18641c78979dac164662c0def1c 100644
--- a/net/tools/hresolv/hresolv.cc
+++ b/net/tools/hresolv/hresolv.cc
@@ -382,7 +382,7 @@ bool ReadHostsAndTimesFromFile(const FilePath& path,
std::vector<std::string> lines;
// TODO(cbentzel): This should probably handle CRLF-style separators as well.
// Maybe it's worth adding functionality like this to base tools.
- SplitString(file_contents, '\n', &lines);
+ base::SplitString(file_contents, '\n', &lines);
std::vector<std::string>::const_iterator line_end = lines.end();
int previous_timestamp = 0;
for (std::vector<std::string>::const_iterator it = lines.begin();
« no previous file with comments | « net/http/http_stream_factory.cc ('k') | net/websockets/websocket_job_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698