#include "services/device/time_zone_monitor/time_zone_monitor.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "base/trace_event/trace_event.h"
#include "third_party/icu/source/common/unicode/unistr.h"
#include "third_party/icu/source/i18n/unicode/timezone.h"
namespace device {
TimeZoneMonitor::TimeZoneMonitor()
: … { … }
TimeZoneMonitor::~TimeZoneMonitor() { … }
void TimeZoneMonitor::Bind(
mojo::PendingReceiver<device::mojom::TimeZoneMonitor> receiver) { … }
void TimeZoneMonitor::NotifyClients(std::string_view zone_id_str) { … }
void TimeZoneMonitor::UpdateIcuAndNotifyClients(
std::unique_ptr<icu::TimeZone> new_zone) { … }
std::unique_ptr<icu::TimeZone> TimeZoneMonitor::DetectHostTimeZoneFromIcu() { … }
std::string TimeZoneMonitor::GetTimeZoneId(const icu::TimeZone& zone) { … }
void TimeZoneMonitor::AddClient(
mojo::PendingRemote<device::mojom::TimeZoneMonitorClient> client) { … }
}