blob: 4eeb971e57728ed8833490eb577258658aa9a413 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_TIME_ZONE_MONITOR_TIME_ZONE_MONITOR_CLIENT_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_TIME_ZONE_MONITOR_TIME_ZONE_MONITOR_CLIENT_H_
#include "mojo/public/cpp/bindings/binding.h"
#include "services/device/public/mojom/time_zone_monitor.mojom-blink.h"
namespace blink {
class TimeZoneMonitorClient final
: public device::mojom::blink::TimeZoneMonitorClient {
public:
static void Init();
~TimeZoneMonitorClient() override;
private:
TimeZoneMonitorClient();
// device::mojom::blink::TimeZoneClient:
void OnTimeZoneChange(const String& time_zone_info) override;
mojo::Binding<device::mojom::blink::TimeZoneMonitorClient> binding_;
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_MODULES_TIME_ZONE_MONITOR_TIME_ZONE_MONITOR_CLIENT_H_