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

Side by Side Diff: third_party/WebKit/Source/modules/time_zone_monitor/TimeZoneMonitorClient.h

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 | « third_party/WebKit/Source/modules/time_zone_monitor/DEPS ('k') | no next file » | 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 #ifndef TimeZoneMonitorClient_h 5 #ifndef TimeZoneMonitorClient_h
6 #define TimeZoneMonitorClient_h 6 #define TimeZoneMonitorClient_h
7 7
8 #include "device/time_zone_monitor/public/interfaces/time_zone_monitor.mojom-bli nk.h"
9 #include "mojo/public/cpp/bindings/binding.h" 8 #include "mojo/public/cpp/bindings/binding.h"
9 #include "services/device/public/interfaces/time_zone_monitor.mojom-blink.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class TimeZoneMonitorClient final 13 class TimeZoneMonitorClient final
14 : public device::mojom::blink::TimeZoneMonitorClient { 14 : public device::mojom::blink::TimeZoneMonitorClient {
15 public: 15 public:
16 static void Init(); 16 static void Init();
17 17
18 ~TimeZoneMonitorClient() override; 18 ~TimeZoneMonitorClient() override;
19 19
20 private: 20 private:
21 TimeZoneMonitorClient(); 21 TimeZoneMonitorClient();
22 22
23 // device::mojom::blink::TimeZoneClient: 23 // device::mojom::blink::TimeZoneClient:
24 void OnTimeZoneChange(const String& timeZoneInfo) override; 24 void OnTimeZoneChange(const String& timeZoneInfo) override;
25 25
26 mojo::Binding<device::mojom::blink::TimeZoneMonitorClient> m_binding; 26 mojo::Binding<device::mojom::blink::TimeZoneMonitorClient> m_binding;
27 }; 27 };
28 28
29 } // namespace blink 29 } // namespace blink
30 30
31 #endif // TimeZoneMonitorClient_h 31 #endif // TimeZoneMonitorClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/time_zone_monitor/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698