summaryrefslogtreecommitdiffstats
path: root/base/time.h
diff options
context:
space:
mode:
authorshinyak@google.com <shinyak@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-28 04:53:17 +0000
committershinyak@google.com <shinyak@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-28 04:53:17 +0000
commit60527a34dfeacad59e7eac002ecc5db516c1898f (patch)
tree7b96c3eaa4ae6f40e73637081cf42f69dbc581eb /base/time.h
parent6f5fa9f917396a24ef3b38a6358c15e96d4b6512 (diff)
downloadchromium_src-60527a34dfeacad59e7eac002ecc5db516c1898f.zip
chromium_src-60527a34dfeacad59e7eac002ecc5db516c1898f.tar.gz
chromium_src-60527a34dfeacad59e7eac002ecc5db516c1898f.tar.bz2
Removed wchat_t from Time::FromString.
Also, some of the test case are moved for pr_time_unittests to time_unitests. BUG=77962 TEST=base_unittests:TimeTest.* Review URL: http://codereview.chromium.org/7470038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94426 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/time.h')
-rw-r--r--base/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/time.h b/base/time.h
index 1b05e24..9ece389 100644
--- a/base/time.h
+++ b/base/time.h
@@ -317,7 +317,7 @@ class BASE_API Time {
// in the input string, we assume local time.
// TODO(iyengar) Move the FromString/FromTimeT/ToTimeT/FromFileTime to
// a new time converter class.
- static bool FromString(const wchar_t* time_string, Time* parsed_time);
+ static bool FromString(const char* time_string, Time* parsed_time);
// For serializing, use FromInternalValue to reconstitute. Please don't use
// this and do arithmetic on it, as it is more error prone than using the