OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 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 CONTENT_PUBLIC_APP_CONTENT_JNI_REGISTER_H_ | |
6 #define CONTENT_PUBLIC_APP_CONTENT_JNI_REGISTER_H_ | |
7 | |
8 #include <jni.h> | |
9 | |
10 #include "base/macros.h" | |
11 #include "content/common/content_export.h" | |
12 | |
13 namespace content { | |
14 | |
15 // Register all content JNI functions now, rather than waiting for the process | |
16 // of fully loading the native library to complete. This must only be called | |
17 // during JNI_OnLoad. | |
18 CONTENT_EXPORT bool EnsureJniRegistered(JNIEnv* env); | |
Yaron
2014/01/17 02:18:25
Why do you need this? Who's calling it?
aberent
2014/01/30 17:46:05
It is called by webview_entry_point.cc, because We
| |
19 | |
20 } // namespace content | |
21 | |
22 #endif // CONTENT_PUBLIC_APP_CONTENT_JNI_REGISTER_H_ | |
OLD | NEW |