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

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

Issue 2402983002: [TimeZoneMonitor] Decouple renderer side impl from content to blink. (Closed)
Patch Set: Created 4 years, 2 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 #ifndef TimeZoneMonitorClient_h
6 #define TimeZoneMonitorClient_h
7
8 #include "device/time_zone_monitor/public/interfaces/time_zone_monitor.mojom.h"
9 #include "mojo/public/cpp/bindings/binding.h"
10
11 namespace blink {
12
13 class TimeZoneMonitorClient final
14 : public device::mojom::TimeZoneMonitorClient {
15 public:
16 static void Init();
17
18 ~TimeZoneMonitorClient() override;
19
20 private:
21 TimeZoneMonitorClient();
22
23 // device::mojom::TimeZoneClient:
24 void OnTimeZoneChange(const std::string& tzInfo) override;
25
26 mojo::Binding<device::mojom::TimeZoneMonitorClient> m_binding;
27 };
28
29 } // namespace blink
30
31 #endif // TimeZoneMonitorClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698