Bug 318192 r=annie.sullivan Only show time for today.

Original committer: brettw%gmail.com
Original revision: 1.39
Original date: 2005/12/28 18:24:16
This commit is contained in:
benjamin%smedbergs.us 2006-07-18 15:34:39 +00:00
Родитель 3c07f4f960
Коммит 7374c7d36b
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -207,6 +207,9 @@ public:
OnPageChanged(aURI, aWhat, aValue)); OnPageChanged(aURI, aWhat, aValue));
} }
// current time optimization
PRTime GetNow();
// well-known annotations used by the history and bookmarks systems // well-known annotations used by the history and bookmarks systems
static const char kAnnotationPreviousEncoding[]; static const char kAnnotationPreviousEncoding[];
@ -273,7 +276,6 @@ protected:
PRTime mLastNow; PRTime mLastNow;
PRBool mNowValid; PRBool mNowValid;
nsCOMPtr<nsITimer> mExpireNowTimer; nsCOMPtr<nsITimer> mExpireNowTimer;
PRTime GetNow();
static void expireNowTimerCallback(nsITimer* aTimer, void* aClosure); static void expireNowTimerCallback(nsITimer* aTimer, void* aClosure);
PRTime NormalizeTime(PRUint32 aRelative, PRTime aOffset); PRTime NormalizeTime(PRUint32 aRelative, PRTime aOffset);