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

Unified Diff: base/android/base_jni_registrar.cc

Issue 2202793002: base: Remove unneeded RegisterNatives() calls on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@jnireg2
Patch Set: rebase Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/android/apk_assets.cc ('k') | base/android/build_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/base_jni_registrar.cc
diff --git a/base/android/base_jni_registrar.cc b/base/android/base_jni_registrar.cc
index 014264706d6d977a12911630a535973b7885dc5b..440a3bbb90e85265b8b048139c1ae707510f8a65 100644
--- a/base/android/base_jni_registrar.cc
+++ b/base/android/base_jni_registrar.cc
@@ -5,31 +5,20 @@
#include "base/android/base_jni_registrar.h"
#include "base/android/animation_frame_time_histogram.h"
-#include "base/android/apk_assets.h"
#include "base/android/application_status_listener.h"
-#include "base/android/build_info.h"
-#include "base/android/callback_android.h"
#include "base/android/command_line_android.h"
-#include "base/android/content_uri_utils.h"
#include "base/android/context_utils.h"
#include "base/android/cpu_features.h"
#include "base/android/early_trace_event_binding.h"
-#include "base/android/event_log.h"
#include "base/android/field_trial_list.h"
#include "base/android/important_file_writer_android.h"
#include "base/android/java_handler_thread.h"
-#include "base/android/java_runtime.h"
#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
-#include "base/android/jni_utils.h"
-#include "base/android/locale_utils.h"
#include "base/android/memory_pressure_listener_android.h"
#include "base/android/path_service_android.h"
-#include "base/android/path_utils.h"
#include "base/android/record_histogram.h"
#include "base/android/record_user_action.h"
-#include "base/android/sys_utils.h"
-#include "base/android/thread_utils.h"
#include "base/android/trace_event_binding.h"
#include "base/macros.h"
#include "base/message_loop/message_pump_android.h"
@@ -42,34 +31,23 @@ namespace android {
static RegistrationMethod kBaseRegisteredMethods[] = {
{"AnimationFrameTimeHistogram",
base::android::RegisterAnimationFrameTimeHistogram},
- {"ApkAssets", base::android::RegisterApkAssets},
{"ApplicationStatusListener",
base::android::ApplicationStatusListener::RegisterBindings},
- {"BuildInfo", base::android::BuildInfo::RegisterBindings},
- {"CallbackAndroid", base::android::RegisterCallbackAndroid},
{"CommandLine", base::android::RegisterCommandLine},
- {"ContentUriUtils", base::RegisterContentUriUtils},
{"ContextUtils", base::android::RegisterContextUtils},
{"CpuFeatures", base::android::RegisterCpuFeatures},
{"EarlyTraceEvent", base::android::RegisterEarlyTraceEvent},
- {"EventLog", base::android::RegisterEventLog},
{"FieldTrialList", base::android::RegisterFieldTrialList},
{"ImportantFileWriterAndroid",
base::android::RegisterImportantFileWriterAndroid},
- {"JNIUtils", base::android::RegisterJNIUtils},
- {"LocaleUtils", base::android::RegisterLocaleUtils},
{"MemoryPressureListenerAndroid",
base::android::MemoryPressureListenerAndroid::Register},
{"JavaHandlerThread", base::android::JavaHandlerThread::RegisterBindings},
{"PathService", base::android::RegisterPathService},
- {"PathUtils", base::android::RegisterPathUtils},
{"PowerMonitor", base::RegisterPowerMonitor},
{"RecordHistogram", base::android::RegisterRecordHistogram},
{"RecordUserAction", base::android::RegisterRecordUserAction},
- {"Runtime", base::android::JavaRuntime::Register},
{"SystemMessageHandler", base::MessagePumpForUI::RegisterBindings},
- {"SysUtils", base::android::SysUtils::Register},
- {"ThreadUtils", base::RegisterThreadUtils},
{"TraceEvent", base::android::RegisterTraceEvent},
};
« no previous file with comments | « base/android/apk_assets.cc ('k') | base/android/build_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698