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

Unified Diff: base/version.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 | « base/string_util.h ('k') | chrome/app/breakpad_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/version.cc
diff --git a/base/version.cc b/base/version.cc
index 22d0e0419629bb322b5a166f1ec5e1f832da3cfd..9fbcb6a6b7921a42a5c64a5acfa66ccd4df584ac 100644
--- a/base/version.cc
+++ b/base/version.cc
@@ -75,7 +75,7 @@ const std::string Version::GetString() const {
bool Version::InitFromString(const std::string& version_str) {
DCHECK(!is_valid_);
std::vector<std::string> numbers;
- SplitString(version_str, '.', &numbers);
+ base::SplitString(version_str, '.', &numbers);
if (numbers.empty())
return false;
for (std::vector<std::string>::iterator i = numbers.begin();
« no previous file with comments | « base/string_util.h ('k') | chrome/app/breakpad_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698