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 module device.mojom; | |
6 | |
7 interface TimeZoneMonitor { | |
8 // Add a client that will get notified on time zone changes. No throttling is | |
9 // employed, as time zone changes are infrequent enough that there is no | |
10 // realistic risk of flooding. | |
11 AddClient(TimeZoneMonitorClient client); | |
12 }; | |
13 | |
14 interface TimeZoneMonitorClient { | |
15 // Called on a time zone change. |tz_info| is the new time zone ID. | |
16 OnTimeZoneChange(string tz_info); | |
17 }; | |
OLD | NEW |