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

Unified Diff: base/time_format.h

Issue 7995: Move Time, TimeDelta and TimeTicks into namespace base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 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/time.cc ('k') | base/time_format.cc » ('j') | base/waitable_event.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/time_format.h
===================================================================
--- base/time_format.h (revision 3954)
+++ base/time_format.h (working copy)
@@ -10,32 +10,31 @@
#include <string>
-class Time;
-
namespace base {
+class Time;
+
// Returns the time of day, e.g., "3:07 PM".
-std::wstring TimeFormatTimeOfDay(const Time& time);
+std::wstring TimeFormatTimeOfDay(const base::Time& time);
brettw 2008/10/24 23:47:52 Don't but base:: in this file, since the whole thi
// Returns a shortened date, e.g. "Nov 7, 2007"
-std::wstring TimeFormatShortDate(const Time& time);
+std::wstring TimeFormatShortDate(const base::Time& time);
// Returns a numeric date such as 12/13/52.
-std::wstring TimeFormatShortDateNumeric(const Time& time);
+std::wstring TimeFormatShortDateNumeric(const base::Time& time);
// Formats a time in a friendly sentence format, e.g.
// "Monday, March 6, 2008 2:44:30 PM".
-std::wstring TimeFormatShortDateAndTime(const Time& time);
+std::wstring TimeFormatShortDateAndTime(const base::Time& time);
// Formats a time in a friendly sentence format, e.g.
// "Monday, March 6, 2008 2:44:30 PM".
-std::wstring TimeFormatFriendlyDateAndTime(const Time& time);
+std::wstring TimeFormatFriendlyDateAndTime(const base::Time& time);
// Formats a time in a friendly sentence format, e.g.
// "Monday, March 6, 2008".
-std::wstring TimeFormatFriendlyDate(const Time& time);
+std::wstring TimeFormatFriendlyDate(const base::Time& time);
} // namespace base
#endif // BASE_TIME_FORMAT_H_
-
« no previous file with comments | « base/time.cc ('k') | base/time_format.cc » ('j') | base/waitable_event.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698