| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_LIBRARY_LOADER_HOOKS_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_LIBRARY_LOADER_HOOKS_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_ANDROID_LIBRARY_LOADER_HOOKS_H_ | 6 #define CONTENT_PUBLIC_BROWSER_ANDROID_LIBRARY_LOADER_HOOKS_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 | 11 |
| 12 namespace content { |
| 13 |
| 12 // Registers the callbacks that allows the entry point of the library to be | 14 // Registers the callbacks that allows the entry point of the library to be |
| 13 // exposed to the calling java code. This handles only registering the content | 15 // exposed to the calling java code. This handles only registering the content |
| 14 // specific callbacks. Any application specific JNI bindings should happen | 16 // specific callbacks. Any application specific JNI bindings should happen |
| 15 // once the native library has fully loaded. | 17 // once the native library has fully loaded. |
| 16 bool RegisterLibraryLoaderEntryHook(JNIEnv* env); | 18 bool RegisterLibraryLoaderEntryHook(JNIEnv* env); |
| 17 | 19 |
| 20 } // namespace content |
| 21 |
| 18 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_LIBRARY_LOADER_HOOKS_H_ | 22 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_LIBRARY_LOADER_HOOKS_H_ |
| OLD | NEW |