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

Unified Diff: base/version.cc

Issue 5848005: base/version: remove wstring version (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: retry Created 10 years 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/version.h ('k') | chrome/app/client_util.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 fe224eb8662ffb8ff8575c35f4e5adbd68dc9bc0..c25b293af63a23b60d25f470e578020c09b7e50f 100644
--- a/base/version.cc
+++ b/base/version.cc
@@ -11,13 +11,6 @@
#include "base/utf_string_conversions.h"
// static
-Version* Version::GetVersionFromString(const std::wstring& version_str) {
- if (!IsStringASCII(version_str))
- return NULL;
- return GetVersionFromString(WideToUTF8(version_str));
-}
-
-// static
Version* Version::GetVersionFromString(const std::string& version_str) {
Version* vers = new Version();
if (vers->InitFromString(version_str)) {
« no previous file with comments | « base/version.h ('k') | chrome/app/client_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698