Chromium Code Reviews| 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_ |
| - |