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

Unified Diff: services/device/time_zone_monitor/time_zone_monitor.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 side-by-side diff with in-line comments
Download patch
Index: services/device/time_zone_monitor/time_zone_monitor.h
diff --git a/device/time_zone_monitor/time_zone_monitor.h b/services/device/time_zone_monitor/time_zone_monitor.h
similarity index 81%
rename from device/time_zone_monitor/time_zone_monitor.h
rename to services/device/time_zone_monitor/time_zone_monitor.h
index f79f94a052371ac4531494dc81941b13b4fb8c2e..730aa5d0d6a625e68e3ef55d51a1deacfda92ba2 100644
--- a/device/time_zone_monitor/time_zone_monitor.h
+++ b/services/device/time_zone_monitor/time_zone_monitor.h
@@ -2,17 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_TIME_ZONE_MONITOR_H_
-#define CONTENT_BROWSER_TIME_ZONE_MONITOR_H_
+#ifndef SERVICES_DEVICE_TIME_ZONE_MONITOR_TIME_ZONE_MONITOR_H_
+#define SERVICES_DEVICE_TIME_ZONE_MONITOR_TIME_ZONE_MONITOR_H_
#include <memory>
#include "base/macros.h"
#include "base/threading/thread_checker.h"
-#include "device/time_zone_monitor/public/interfaces/time_zone_monitor.mojom.h"
-#include "device/time_zone_monitor/time_zone_monitor_export.h"
#include "mojo/public/cpp/bindings/binding_set.h"
#include "mojo/public/cpp/bindings/interface_ptr_set.h"
+#include "services/device/public/interfaces/time_zone_monitor.mojom.h"
template <class T>
class scoped_refptr;
@@ -45,13 +44,12 @@ class TimeZoneMonitor : public device::mojom::TimeZoneMonitor {
// Returns a new TimeZoneMonitor object (likely a subclass) specific to the
// platform. Inject |file_task_runner| to enable running blocking file
// operations on it when necessary.
- DEVICE_TIME_ZONE_MONITOR_EXPORT static std::unique_ptr<TimeZoneMonitor>
- Create(scoped_refptr<base::SequencedTaskRunner> file_task_runner);
+ static std::unique_ptr<TimeZoneMonitor> Create(
+ scoped_refptr<base::SequencedTaskRunner> file_task_runner);
~TimeZoneMonitor() override;
- DEVICE_TIME_ZONE_MONITOR_EXPORT void Bind(
- device::mojom::TimeZoneMonitorRequest request);
+ void Bind(device::mojom::TimeZoneMonitorRequest request);
protected:
TimeZoneMonitor();
@@ -72,4 +70,4 @@ class TimeZoneMonitor : public device::mojom::TimeZoneMonitor {
} // namespace device
-#endif // CONTENT_BROWSER_TIME_ZONE_MONITOR_H_
+#endif // SERVICES_DEVICE_TIME_ZONE_MONITOR_TIME_ZONE_MONITOR_H_

Powered by Google App Engine
This is Rietveld 408576698