diff options
Diffstat (limited to 'dom/time/DateCacheCleaner.h')
-rw-r--r-- | dom/time/DateCacheCleaner.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dom/time/DateCacheCleaner.h b/dom/time/DateCacheCleaner.h new file mode 100644 index 0000000000..5d734b2c44 --- /dev/null +++ b/dom/time/DateCacheCleaner.h @@ -0,0 +1,19 @@ +/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* vim: set ts=8 sts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* + * InitializeDateCacheCleaner registers DateCacheCleaner to + * SystemTimeChangeObserver. When time zone is changed, DateCacheCleaner calls + * JS::ResetTimeZone to update the time zone information. + */ + +namespace mozilla { +namespace dom { +namespace time { +void InitializeDateCacheCleaner(); +} //namespace time +} //namespace dom +} //namespace mozilla |