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

Unified Diff: blimp/client/core/android/dummy_blimp_jni_registrar.cc

Issue 2194403003: blimp: Remove unneeded RegisterNatives() call (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@jnireg3
Patch Set: blimp: Remove unneeded RegisterNatives() call Created 4 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 | « blimp/client/core/android/dummy_blimp_client_context_android.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/core/android/dummy_blimp_jni_registrar.cc
diff --git a/blimp/client/core/android/dummy_blimp_jni_registrar.cc b/blimp/client/core/android/dummy_blimp_jni_registrar.cc
index fff6174e81ef34936f0c5b8d64332079f25d5518..a6f5f2f90cf44257b3045387c376f4fbdb02e326 100644
--- a/blimp/client/core/android/dummy_blimp_jni_registrar.cc
+++ b/blimp/client/core/android/dummy_blimp_jni_registrar.cc
@@ -5,26 +5,16 @@
#include "blimp/client/public/android/blimp_jni_registrar.h"
#include "base/android/jni_registrar.h"
-#include "blimp/client/core/android/dummy_blimp_client_context_android.h"
namespace blimp {
namespace client {
-namespace {
-
-base::android::RegistrationMethod kBlimpRegistrationMethods[] = {
- {"DummyBlimpClientContextAndroid",
- DummyBlimpClientContextAndroid::RegisterJni},
-};
-
-} // namespace
// This method is declared in
// //blimp/client/public/android/blimp_jni_registrar.h, and either this function
// or the one in //blimp/client/core/android/blimp_jni_registrar.cc
// should be linked in to any binary blimp::client::RegisterBlimpJni.
bool RegisterBlimpJni(JNIEnv* env) {
- return base::android::RegisterNativeMethods(
- env, kBlimpRegistrationMethods, arraysize(kBlimpRegistrationMethods));
+ return true;
}
} // namespace client
« no previous file with comments | « blimp/client/core/android/dummy_blimp_client_context_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698