Chromium Code Reviews| Index: base/android/base_jni_onload_delegate.h |
| diff --git a/base/android/base_jni_onload_delegate.h b/base/android/base_jni_onload_delegate.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e30d113ddac3d67eef2993ef568fbda3bc350862 |
| --- /dev/null |
| +++ b/base/android/base_jni_onload_delegate.h |
| @@ -0,0 +1,23 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef BASE_ANDROID_BASE_JNI_ONLOAD_DELEGATE_H_ |
| +#define BASE_ANDROID_BASE_JNI_ONLOAD_DELEGATE_H_ |
| + |
| +#include "base/android/jni_onload_delegate.h" |
| + |
| +namespace base { |
| +namespace android { |
| + |
| +// The JNIOnLoadDelegate implementation in base. |
| +class BaseJNIOnLoadDelegate : public JNIOnLoadDelegate { |
|
jam
2015/01/26 22:38:21
since the only user of this is base_jni_onload.cc,
|
| + public: |
| + virtual bool RegisterJNI(JNIEnv* env) override; |
| + virtual bool Init() override; |
| +}; |
| + |
| +} // namespace android |
| +} // namespace base |
| + |
| +#endif // BASE_ANDROID_BASE_JNI_ONLOAD_DELEGATE_H_ |