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

Side by Side Diff: services/device/time_zone_monitor/time_zone_monitor.cc

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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "device/time_zone_monitor/time_zone_monitor.h" 5 #include "services/device/time_zone_monitor/time_zone_monitor.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "third_party/icu/source/common/unicode/unistr.h" 9 #include "third_party/icu/source/common/unicode/unistr.h"
10 #include "third_party/icu/source/i18n/unicode/timezone.h" 10 #include "third_party/icu/source/i18n/unicode/timezone.h"
11 11
12 namespace device { 12 namespace device {
13 13
14 TimeZoneMonitor::TimeZoneMonitor() { 14 TimeZoneMonitor::TimeZoneMonitor() {
15 DCHECK(thread_checker_.CalledOnValidThread()); 15 DCHECK(thread_checker_.CalledOnValidThread());
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 client->OnTimeZoneChange(zone_id_str); 53 client->OnTimeZoneChange(zone_id_str);
54 }); 54 });
55 } 55 }
56 56
57 void TimeZoneMonitor::AddClient( 57 void TimeZoneMonitor::AddClient(
58 device::mojom::TimeZoneMonitorClientPtr client) { 58 device::mojom::TimeZoneMonitorClientPtr client) {
59 clients_.AddPtr(std::move(client)); 59 clients_.AddPtr(std::move(client));
60 } 60 }
61 61
62 } // namespace device 62 } // namespace device
OLDNEW
« no previous file with comments | « services/device/time_zone_monitor/time_zone_monitor.h ('k') | services/device/time_zone_monitor/time_zone_monitor_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698