Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: services/device/public/interfaces/time_zone_monitor.mojom

Issue 2690963002: [DeviceService] Move //device/time_zone_monitor to //services/device (Closed)
Patch Set: Enable device service to register JNI Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « services/device/public/interfaces/BUILD.gn ('k') | services/device/time_zone_monitor/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module device.mojom; 5 module device.mojom;
6 6
7 interface TimeZoneMonitor { 7 interface TimeZoneMonitor {
8 // Add a client that will get notified on time zone changes. No throttling is 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 9 // employed, as time zone changes are infrequent enough that there is no
10 // realistic risk of flooding. 10 // realistic risk of flooding.
11 AddClient(TimeZoneMonitorClient client); 11 AddClient(TimeZoneMonitorClient client);
12 }; 12 };
13 13
14 interface TimeZoneMonitorClient { 14 interface TimeZoneMonitorClient {
15 // Called on a time zone change. |tz_info| is the new time zone ID. 15 // Called on a time zone change. |tz_info| is the new time zone ID.
16 OnTimeZoneChange(string tz_info); 16 OnTimeZoneChange(string tz_info);
17 }; 17 };
OLDNEW
« no previous file with comments | « services/device/public/interfaces/BUILD.gn ('k') | services/device/time_zone_monitor/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698