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

Unified Diff: base/android/base_jni_registrar.cc

Issue 10753007: Switch base/ registrations to a static class method where appropriate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « no previous file | 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 06b01495c58bfbe24c3135373f679d2507579af2..4ec20475cbbc287fea1c05151df17c8b8ccb2935 100644
--- a/base/android/base_jni_registrar.cc
+++ b/base/android/base_jni_registrar.cc
@@ -5,24 +5,21 @@
#include "base/android/base_jni_registrar.h"
#include "base/basictypes.h"
+#include "base/message_pump_android.h"
#include "base/android/build_info.h"
-#include "base/android/locale_utils.h"
#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
+#include "base/android/locale_utils.h"
#include "base/android/path_utils.h"
namespace base {
-bool RegisterSystemMessageHandler(JNIEnv* env);
-}
-
-namespace base {
namespace android {
static RegistrationMethod kBaseRegisteredMethods[] = {
- { "BuildInfo", base::android::RegisterBuildInfo },
+ { "BuildInfo", base::android::BuildInfo::RegisterBindings },
{ "LocaleUtils", base::android::RegisterLocaleUtils },
{ "PathUtils", base::android::RegisterPathUtils },
- { "SystemMessageHandler", base::RegisterSystemMessageHandler },
+ { "SystemMessageHandler", base::MessagePumpForUI::RegisterBindings },
};
bool RegisterJni(JNIEnv* env) {
« no previous file with comments | « no previous file | base/android/build_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698