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

Side by Side Diff: device/time_zone_monitor/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
OLDNEW
(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 };
OLDNEW
« no previous file with comments | « device/time_zone_monitor/public/interfaces/OWNERS ('k') | device/time_zone_monitor/time_zone_monitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698