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.
5 #ifndef ANDROID_WEBVIEW_LIB_MAIN_JNI_ONLOAD_DELEGATE_H_
6 #define ANDROID_WEBVIEW_LIB_MAIN_JNI_ONLOAD_DELEGATE_H_
8 #include "base/android/jni_onload_delegate.h"
10 namespace android_webview
{
12 class WebViewJNIOnLoadDelegate
: public base::android::JNIOnLoadDelegate
{
14 bool RegisterJNI(JNIEnv
* env
) override
;
18 bool OnJNIOnLoad(JavaVM
* vm
);
22 #endif // ANDROID_WEBVIEW_LIB_MAIN_JNI_ONLOAD_DELEGATE_H_