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

Side by Side Diff: base/android/base_jni_registrar.cc

Issue 1294883002: Revert of [Android] Add a java.lang.System wrapper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « base/BUILD.gn ('k') | base/android/java_system.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
11 #include "base/android/command_line_android.h" 11 #include "base/android/command_line_android.h"
12 #include "base/android/content_uri_utils.h" 12 #include "base/android/content_uri_utils.h"
13 #include "base/android/cpu_features.h" 13 #include "base/android/cpu_features.h"
14 #include "base/android/event_log.h" 14 #include "base/android/event_log.h"
15 #include "base/android/field_trial_list.h" 15 #include "base/android/field_trial_list.h"
16 #include "base/android/important_file_writer_android.h" 16 #include "base/android/important_file_writer_android.h"
17 #include "base/android/java_handler_thread.h" 17 #include "base/android/java_handler_thread.h"
18 #include "base/android/java_runtime.h" 18 #include "base/android/java_runtime.h"
19 #include "base/android/java_system.h"
20 #include "base/android/jni_android.h" 19 #include "base/android/jni_android.h"
21 #include "base/android/jni_registrar.h" 20 #include "base/android/jni_registrar.h"
22 #include "base/android/jni_utils.h" 21 #include "base/android/jni_utils.h"
23 #include "base/android/locale_utils.h" 22 #include "base/android/locale_utils.h"
24 #include "base/android/memory_pressure_listener_android.h" 23 #include "base/android/memory_pressure_listener_android.h"
25 #include "base/android/path_service_android.h" 24 #include "base/android/path_service_android.h"
26 #include "base/android/path_utils.h" 25 #include "base/android/path_utils.h"
27 #include "base/android/record_histogram.h" 26 #include "base/android/record_histogram.h"
28 #include "base/android/record_user_action.h" 27 #include "base/android/record_user_action.h"
29 #include "base/android/sys_utils.h" 28 #include "base/android/sys_utils.h"
(...skipping 26 matching lines...) Expand all
56 {"LocaleUtils", base::android::RegisterLocaleUtils}, 55 {"LocaleUtils", base::android::RegisterLocaleUtils},
57 {"MemoryPressureListenerAndroid", 56 {"MemoryPressureListenerAndroid",
58 base::android::MemoryPressureListenerAndroid::Register}, 57 base::android::MemoryPressureListenerAndroid::Register},
59 {"JavaHandlerThread", base::android::JavaHandlerThread::RegisterBindings}, 58 {"JavaHandlerThread", base::android::JavaHandlerThread::RegisterBindings},
60 {"PathService", base::android::RegisterPathService}, 59 {"PathService", base::android::RegisterPathService},
61 {"PathUtils", base::android::RegisterPathUtils}, 60 {"PathUtils", base::android::RegisterPathUtils},
62 {"PowerMonitor", base::RegisterPowerMonitor}, 61 {"PowerMonitor", base::RegisterPowerMonitor},
63 {"RecordHistogram", base::android::RegisterRecordHistogram}, 62 {"RecordHistogram", base::android::RegisterRecordHistogram},
64 {"RecordUserAction", base::android::RegisterRecordUserAction}, 63 {"RecordUserAction", base::android::RegisterRecordUserAction},
65 {"Runtime", base::android::JavaRuntime::Register}, 64 {"Runtime", base::android::JavaRuntime::Register},
66 {"System", base::android::JavaSystem::Register},
67 {"SystemMessageHandler", base::MessagePumpForUI::RegisterBindings}, 65 {"SystemMessageHandler", base::MessagePumpForUI::RegisterBindings},
68 {"SysUtils", base::android::SysUtils::Register}, 66 {"SysUtils", base::android::SysUtils::Register},
69 {"ThreadUtils", base::RegisterThreadUtils}, 67 {"ThreadUtils", base::RegisterThreadUtils},
70 {"TraceEvent", base::android::RegisterTraceEvent}, 68 {"TraceEvent", base::android::RegisterTraceEvent},
71 }; 69 };
72 70
73 bool RegisterJni(JNIEnv* env) { 71 bool RegisterJni(JNIEnv* env) {
74 TRACE_EVENT0("startup", "base_android::RegisterJni"); 72 TRACE_EVENT0("startup", "base_android::RegisterJni");
75 return RegisterNativeMethods(env, kBaseRegisteredMethods, 73 return RegisterNativeMethods(env, kBaseRegisteredMethods,
76 arraysize(kBaseRegisteredMethods)); 74 arraysize(kBaseRegisteredMethods));
77 } 75 }
78 76
79 } // namespace android 77 } // namespace android
80 } // namespace base 78 } // namespace base
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | base/android/java_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698