OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef TimeZoneMonitorClient_h |
| 6 #define TimeZoneMonitorClient_h |
| 7 |
| 8 #include "device/time_zone_monitor/public/interfaces/time_zone_monitor.mojom.h" |
| 9 #include "mojo/public/cpp/bindings/binding.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class TimeZoneMonitorClient final |
| 14 : public device::mojom::TimeZoneMonitorClient { |
| 15 public: |
| 16 static void Init(); |
| 17 |
| 18 ~TimeZoneMonitorClient() override; |
| 19 |
| 20 private: |
| 21 TimeZoneMonitorClient(); |
| 22 |
| 23 // device::mojom::TimeZoneClient: |
| 24 void OnTimeZoneChange(const std::string& tzInfo) override; |
| 25 |
| 26 mojo::Binding<device::mojom::TimeZoneMonitorClient> m_binding; |
| 27 }; |
| 28 |
| 29 } // namespace blink |
| 30 |
| 31 #endif // TimeZoneMonitorClient_h |
OLD | NEW |