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

Unified Diff: device/time_zone_monitor/public/interfaces/time_zone_monitor.mojom

Issue 2304073003: Mojoify time zone update IPC from browser to renderer (Closed)
Patch Set: Rebase Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/time_zone_monitor/public/interfaces/OWNERS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/time_zone_monitor/public/interfaces/time_zone_monitor.mojom
diff --git a/device/time_zone_monitor/public/interfaces/time_zone_monitor.mojom b/device/time_zone_monitor/public/interfaces/time_zone_monitor.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..207b0a086a5e62caf98f9fea9810a2e0ec65cd8a
--- /dev/null
+++ b/device/time_zone_monitor/public/interfaces/time_zone_monitor.mojom
@@ -0,0 +1,17 @@
+// 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.
+
+module device.mojom;
+
+interface TimeZoneMonitor {
+ // Add a client that will get notified on time zone changes. No throttling is
+ // employed, as time zone changes are infrequent enough that there is no
+ // realistic risk of flooding.
+ AddClient(TimeZoneMonitorClient client);
+};
+
+interface TimeZoneMonitorClient {
+ // Called on a time zone change. |tz_info| is the new time zone ID.
+ OnTimeZoneChange(string tz_info);
+};
« no previous file with comments | « device/time_zone_monitor/public/interfaces/OWNERS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698