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

Unified Diff: device/time_zone_monitor/time_zone_monitor_android.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: device/time_zone_monitor/time_zone_monitor_android.h
diff --git a/device/time_zone_monitor/time_zone_monitor_android.h b/device/time_zone_monitor/time_zone_monitor_android.h
deleted file mode 100644
index 576b2277fe0d168a16894c051517c148a19efd93..0000000000000000000000000000000000000000
--- a/device/time_zone_monitor/time_zone_monitor_android.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2014 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.
-
-#ifndef CONTENT_BROWSER_TIME_ZONE_MONITOR_ANDROID_H_
-#define CONTENT_BROWSER_TIME_ZONE_MONITOR_ANDROID_H_
-
-#include "device/time_zone_monitor/time_zone_monitor.h"
-
-#include <jni.h>
-
-#include "base/android/scoped_java_ref.h"
-#include "base/macros.h"
-
-namespace device {
-
-class TimeZoneMonitorAndroid : public TimeZoneMonitor {
- public:
- TimeZoneMonitorAndroid();
- ~TimeZoneMonitorAndroid() override;
-
- // Must be called at startup.
- static bool Register(JNIEnv* env);
-
- // Called by the Java implementation when the system time zone changes.
- void TimeZoneChangedFromJava(
- JNIEnv* env,
- const base::android::JavaParamRef<jobject>& caller);
-
- private:
- // Java provider of system time zone change notifications.
- base::android::ScopedJavaGlobalRef<jobject> impl_;
-
- DISALLOW_COPY_AND_ASSIGN(TimeZoneMonitorAndroid);
-};
-
-} // namespace device
-
-#endif // CONTENT_BROWSER_TIME_ZONE_MONITOR_ANDROID_H_
« no previous file with comments | « device/time_zone_monitor/time_zone_monitor.cc ('k') | device/time_zone_monitor/time_zone_monitor_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698