Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Side by Side Diff: content/app/android/library_loader_hooks.h

Issue 914083004: Remove android_library_loader_hook from content API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/app/android/content_jni_onload.cc ('k') | content/app/android/library_loader_hooks.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_APP_ANDROID_LIBRARY_LOADER_HOOKS_H_ 5 #ifndef CONTENT_APP_ANDROID_LIBRARY_LOADER_HOOKS_H_
6 #define CONTENT_PUBLIC_APP_ANDROID_LIBRARY_LOADER_HOOKS_H_ 6 #define CONTENT_APP_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 #include "content/common/content_export.h"
12 11
13 namespace content { 12 namespace content {
14 13
15 // Register all content JNI functions now, rather than waiting for the process 14 // Register all content JNI functions now, rather than waiting for the process
16 // of fully loading the native library to complete. 15 // of fully loading the native library to complete.
17 CONTENT_EXPORT bool EnsureJniRegistered(JNIEnv* env); 16 bool EnsureJniRegistered(JNIEnv* env);
18 17
19 // Do the intialization of content needed immediately after the native library 18 // Do the intialization of content needed immediately after the native library
20 // has loaded. 19 // has loaded.
21 // This is designed to be used as a hook function to be passed to 20 // This is designed to be used as a hook function to be passed to
22 // base::android::SetLibraryLoadedHook 21 // base::android::SetLibraryLoadedHook
23 CONTENT_EXPORT bool LibraryLoaded(JNIEnv* env, 22 bool LibraryLoaded(JNIEnv* env, jclass clazz);
24 jclass clazz);
25 23
26 } // namespace content 24 } // namespace content
27 25
28 #endif // CONTENT_PUBLIC_APP_ANDROID_LIBRARY_LOADER_HOOKS_H_ 26 #endif // CONTENT_APP_ANDROID_LIBRARY_LOADER_HOOKS_H_
OLDNEW
« no previous file with comments | « content/app/android/content_jni_onload.cc ('k') | content/app/android/library_loader_hooks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698