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

Unified Diff: device/time_zone_monitor/android/time_zone_monitor_jni_registrar.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 side-by-side diff with in-line comments
Download patch
Index: device/time_zone_monitor/android/time_zone_monitor_jni_registrar.cc
diff --git a/device/time_zone_monitor/android/time_zone_monitor_jni_registrar.cc b/device/time_zone_monitor/android/time_zone_monitor_jni_registrar.cc
deleted file mode 100644
index 55ab5d5abf594ab29004cc08d67f8530bca9b62f..0000000000000000000000000000000000000000
--- a/device/time_zone_monitor/android/time_zone_monitor_jni_registrar.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2016 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.
-
-#include "device/time_zone_monitor/android/time_zone_monitor_jni_registrar.h"
-
-#include "base/android/jni_android.h"
-#include "base/android/jni_registrar.h"
-#include "device/time_zone_monitor/time_zone_monitor_android.h"
-
-namespace device {
-namespace android {
-namespace {
-
-const base::android::RegistrationMethod kRegisteredMethods[] = {
- {"TimeZoneMonitorAndroid", device::TimeZoneMonitorAndroid::Register},
-};
-
-} // namespace
-
-bool RegisterTimeZoneMonitorJni(JNIEnv* env) {
- return RegisterNativeMethods(env, kRegisteredMethods,
- arraysize(kRegisteredMethods));
-}
-
-} // namespace android
-} // namespace device

Powered by Google App Engine
This is Rietveld 408576698