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 "content/public/app/content_jni_onload.h" |
| 6 |
| 7 #include "base/android/base_jni_onload.h" |
| 8 #include "content/app/android/content_jni_onload_delegate.h" |
| 9 |
| 10 namespace content { |
| 11 namespace android { |
| 12 |
| 13 bool OnJNIOnLoad(JavaVM* vm, |
| 14 std::vector<base::android::JNIOnLoadDelegate*>* delegates) { |
| 15 ContentJNIOnLoadDelegate delegate; |
| 16 delegates->push_back(&delegate); |
| 17 bool ret = base::android::OnJNIOnLoad(vm, delegates); |
| 18 delegates->pop_back(); |
| 19 return ret; |
| 20 } |
| 21 |
| 22 } // namespace android |
| 23 } // namespace content |
OLD | NEW |