OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 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 #ifndef ANDROID_WEBVIEW_LIB_MAIN_JNI_ONLOAD_DELEGATE_H_ | |
6 #define ANDROID_WEBVIEW_LIB_MAIN_JNI_ONLOAD_DELEGATE_H_ | |
7 | |
8 #include "base/android/jni_onload_delegate.h" | |
9 | |
10 namespace android_webview { | |
11 | |
12 class WebViewJNIOnLoadDelegate : public base::android::JNIOnLoadDelegate { | |
13 public: | |
14 bool RegisterJNI(JNIEnv* env) override; | |
15 bool Init() override; | |
16 }; | |
17 | |
18 bool OnJNIOnLoad(JavaVM* vm); | |
19 | |
20 } // android_webview | |
21 | |
22 #endif // ANDROID_WEBVIEW_LIB_MAIN_JNI_ONLOAD_DELEGATE_H_ | |
OLD | NEW |