blob: f43aa247145f24da9bcb01c30382d0b56c0b8226 [file] [log] [blame]
// 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.
#include "content/public/app/content_jni_onload.h"
#include <vector>
#include "base/android/base_jni_onload.h"
#include "base/android/jni_android.h"
#include "base/android/library_loader/library_loader_hooks.h"
#include "base/bind.h"
#include "content/app/android/library_loader_hooks.h"
#include "content/public/app/content_main.h"
namespace content {
namespace android {
bool OnJNIOnLoadRegisterJNI(JNIEnv* env) {
return content::EnsureJniRegistered(env);
bool OnJNIOnLoadInit() {
if (!base::android::OnJNIOnLoadInit())
return false;
return true;
} // namespace android
} // namespace content