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

Side by Side Diff: services/device/time_zone_monitor/android/java/src/org/chromium/device/time_zone_monitor/TimeZoneMonitor.java

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 package org.chromium.device.time_zone_monitor; 5 package org.chromium.device.time_zone_monitor;
6 6
7 import android.content.BroadcastReceiver; 7 import android.content.BroadcastReceiver;
8 import android.content.Context; 8 import android.content.Context;
9 import android.content.Intent; 9 import android.content.Intent;
10 import android.content.IntentFilter; 10 import android.content.IntentFilter;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 mAppContext.unregisterReceiver(mBroadcastReceiver); 59 mAppContext.unregisterReceiver(mBroadcastReceiver);
60 mNativePtr = 0; 60 mNativePtr = 0;
61 } 61 }
62 62
63 /** 63 /**
64 * Native JNI call to device::TimeZoneMonitorAndroid::TimeZoneChanged. 64 * Native JNI call to device::TimeZoneMonitorAndroid::TimeZoneChanged.
65 * See device/time_zone_monitor/time_zone_monitor_android.cc. 65 * See device/time_zone_monitor/time_zone_monitor_android.cc.
66 */ 66 */
67 private native void nativeTimeZoneChangedFromJava(long nativeTimeZoneMonitor Android); 67 private native void nativeTimeZoneChangedFromJava(long nativeTimeZoneMonitor Android);
68 } 68 }
OLDNEW
« no previous file with comments | « services/device/time_zone_monitor/OWNERS ('k') | services/device/time_zone_monitor/android/time_zone_monitor_jni_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698