| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/android/base_jni_registrar.h" | 5 #include "base/android/base_jni_registrar.h" |
| 6 | 6 |
| 7 #include "base/android/animation_frame_time_histogram.h" | 7 #include "base/android/animation_frame_time_histogram.h" |
| 8 #include "base/android/apk_assets.h" | 8 #include "base/android/apk_assets.h" |
| 9 #include "base/android/application_status_listener.h" | 9 #include "base/android/application_status_listener.h" |
| 10 #include "base/android/build_info.h" | 10 #include "base/android/build_info.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "base/android/jni_utils.h" | 22 #include "base/android/jni_utils.h" |
| 23 #include "base/android/locale_utils.h" | 23 #include "base/android/locale_utils.h" |
| 24 #include "base/android/memory_pressure_listener_android.h" | 24 #include "base/android/memory_pressure_listener_android.h" |
| 25 #include "base/android/path_service_android.h" | 25 #include "base/android/path_service_android.h" |
| 26 #include "base/android/path_utils.h" | 26 #include "base/android/path_utils.h" |
| 27 #include "base/android/record_histogram.h" | 27 #include "base/android/record_histogram.h" |
| 28 #include "base/android/record_user_action.h" | 28 #include "base/android/record_user_action.h" |
| 29 #include "base/android/sys_utils.h" | 29 #include "base/android/sys_utils.h" |
| 30 #include "base/android/thread_utils.h" | 30 #include "base/android/thread_utils.h" |
| 31 #include "base/android/trace_event_binding.h" | 31 #include "base/android/trace_event_binding.h" |
| 32 #include "base/basictypes.h" | 32 #include "base/macros.h" |
| 33 #include "base/message_loop/message_pump_android.h" | 33 #include "base/message_loop/message_pump_android.h" |
| 34 #include "base/power_monitor/power_monitor_device_source_android.h" | 34 #include "base/power_monitor/power_monitor_device_source_android.h" |
| 35 #include "base/trace_event/trace_event.h" | 35 #include "base/trace_event/trace_event.h" |
| 36 | 36 |
| 37 namespace base { | 37 namespace base { |
| 38 namespace android { | 38 namespace android { |
| 39 | 39 |
| 40 static RegistrationMethod kBaseRegisteredMethods[] = { | 40 static RegistrationMethod kBaseRegisteredMethods[] = { |
| 41 {"AnimationFrameTimeHistogram", | 41 {"AnimationFrameTimeHistogram", |
| 42 base::android::RegisterAnimationFrameTimeHistogram}, | 42 base::android::RegisterAnimationFrameTimeHistogram}, |
| (...skipping 27 matching lines...) Expand all Loading... |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 bool RegisterJni(JNIEnv* env) { | 72 bool RegisterJni(JNIEnv* env) { |
| 73 TRACE_EVENT0("startup", "base_android::RegisterJni"); | 73 TRACE_EVENT0("startup", "base_android::RegisterJni"); |
| 74 return RegisterNativeMethods(env, kBaseRegisteredMethods, | 74 return RegisterNativeMethods(env, kBaseRegisteredMethods, |
| 75 arraysize(kBaseRegisteredMethods)); | 75 arraysize(kBaseRegisteredMethods)); |
| 76 } | 76 } |
| 77 | 77 |
| 78 } // namespace android | 78 } // namespace android |
| 79 } // namespace base | 79 } // namespace base |
| OLD | NEW |