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

Unified Diff: content/app/android/library_loader_hooks.cc

Issue 1119113002: bluetooth: Initial JNI setup for device/bluetooth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
Index: content/app/android/library_loader_hooks.cc
diff --git a/content/app/android/library_loader_hooks.cc b/content/app/android/library_loader_hooks.cc
index 1b1930341a08899b8d9b1defe007ef7b51350211..a67dd5d3a1f05ad850a32d2d1bcbca2869af05ef 100644
--- a/content/app/android/library_loader_hooks.cc
+++ b/content/app/android/library_loader_hooks.cc
@@ -22,6 +22,7 @@
#include "content/common/content_constants_internal.h"
#include "content/public/common/content_switches.h"
#include "content/public/common/result_codes.h"
+#include "device/bluetooth/android/bluetooth_jni_registrar.h"
#include "device/vibration/android/vibration_jni_registrar.h"
#include "media/base/android/media_jni_registrar.h"
#include "media/midi/midi_jni_registrar.h"
@@ -65,6 +66,9 @@ bool EnsureJniRegistered(JNIEnv* env) {
if (!content::android::RegisterAppJni(env))
return false;
+ if (!device::android::RegisterBluetoothJni(env))
armansito 2015/05/06 01:57:06 Can you document somewhere that calling this is ne
scheib 2015/05/06 04:30:14 https://www.chromium.org/developers/design-documen
+ return false;
+
if (!device::android::RegisterVibrationJni(env))
return false;
« no previous file with comments | « content/app/DEPS ('k') | content/content.gyp » ('j') | device/bluetooth/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698