| Index: content/browser/android/library_loader_hooks.h
|
| diff --git a/content/browser/android/library_loader_hooks.h b/content/browser/android/library_loader_hooks.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ee8b68be11f18926acda7d8765e94bda3e1f5521
|
| --- /dev/null
|
| +++ b/content/browser/android/library_loader_hooks.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright (c) 2012 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 CONTENT_BROWSER_ANDROID_LIBRARY_LOADER_HOOKS_H_
|
| +#define CONTENT_BROWSER_ANDROID_LIBRARY_LOADER_HOOKS_H_
|
| +
|
| +#include <jni.h>
|
| +
|
| +#include "base/basictypes.h"
|
| +
|
| +class RegistrationMethod;
|
| +
|
| +// Registers the mimimal of callbacks that allows the entry point of the library
|
| +// to be exposed to the calling java code. This handles only registering the
|
| +// content specific callbacks.
|
| +bool RegisterLibraryLoaderEntryHook(JNIEnv* env);
|
| +
|
| +// Registers the JNI bindings for the specified |method| definition containing
|
| +// |count| elements.
|
| +bool RegisterNativeMethods(JNIEnv* env,
|
| + const RegistrationMethod* method,
|
| + size_t count);
|
| +
|
| +#endif // CONTENT_BROWSER_ANDROID_LIBRARY_LOADER_HOOKS_H_
|
|
|