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/app/android/blimp_app_jni_registrar.h" | |
6 | |
7 #include "base/android/jni_registrar.h" | |
8 #include "blimp/client/app/android/blimp_contents_display.h" | |
9 #include "blimp/client/app/android/blimp_environment.h" | |
10 #include "blimp/client/app/android/blimp_library_loader.h" | |
11 #include "components/safe_json/android/component_jni_registrar.h" | |
12 | |
13 namespace blimp { | |
14 namespace client { | |
15 namespace { | |
16 | |
17 base::android::RegistrationMethod kBlimpRegistrationMethods[] = { | |
18 {"BlimpLibraryLoader", RegisterBlimpLibraryLoaderJni}, | |
19 {"BlimpEnvironment", BlimpEnvironment::RegisterJni}, | |
20 {"BlimpContentsDisplay", app::BlimpContentsDisplay::RegisterJni}, | |
21 {"SafeJson", safe_json::android::RegisterSafeJsonJni}, | |
22 }; | |
23 | |
24 } // namespace | |
25 | |
26 bool RegisterBlimpAppJni(JNIEnv* env) { | |
27 return base::android::RegisterNativeMethods( | |
28 env, kBlimpRegistrationMethods, arraysize(kBlimpRegistrationMethods)); | |
29 } | |
30 | |
31 } // namespace client | |
32 } // namespace blimp | |
OLD | NEW |