Index: base/android/base_jni_onload_delegate.cc |
diff --git a/base/android/base_jni_onload_delegate.cc b/base/android/base_jni_onload_delegate.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4efa7bf6093ffc877614658093c33c60a438eb98 |
--- /dev/null |
+++ b/base/android/base_jni_onload_delegate.cc |
@@ -0,0 +1,21 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "base/android/base_jni_onload_delegate.h" |
+ |
+#include "base/android/library_loader/library_loader_hooks.h" |
+ |
+namespace base { |
+namespace android { |
+ |
+bool BaseJNIOnLoadDelegate::RegisterJNI(JNIEnv* env) { |
+ return RegisterLibraryLoaderEntryHook(env); |
+} |
+ |
+bool BaseJNIOnLoadDelegate::Init() { |
+ return true; |
+} |
+ |
+} // namespace android |
+} // namespace base |