OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "blimp/client/android/blimp_jni_registrar.h" |
| 6 |
| 7 #include "base/android/jni_registrar.h" |
| 8 #include "blimp/client/android/blimp_library_loader.h" |
| 9 #include "blimp/client/android/blimp_view.h" |
| 10 |
| 11 namespace { |
| 12 |
| 13 base::android::RegistrationMethod kBlimpRegistrationMethods[] = { |
| 14 {"BlimpLibraryLoader", blimp::RegisterBlimpLibraryLoaderJni}, |
| 15 {"BlimpView", blimp::BlimpView::RegisterJni}, |
| 16 }; |
| 17 |
| 18 } // namespace |
| 19 |
| 20 namespace blimp { |
| 21 |
| 22 bool RegisterBlimpJni(JNIEnv* env) { |
| 23 return base::android::RegisterNativeMethods( |
| 24 env, kBlimpRegistrationMethods, arraysize(kBlimpRegistrationMethods)); |
| 25 } |
| 26 |
| 27 } // namespace blimp |
OLD | NEW |