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

Side by Side Diff: content/public/app/android_library_loader_hooks.h

Issue 11368031: First step towards component build for Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: indent Created 8 years, 1 month 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 | Annotate | Revision Log
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_PUBLIC_APP_ANDROID_LIBRARY_LOADER_HOOKS_H_
6 #define CONTENT_PUBLIC_APP_ANDROID_LIBRARY_LOADER_HOOKS_H_ 6 #define CONTENT_PUBLIC_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"
11 12
12 namespace content { 13 namespace content {
13 14
14 // Registers the callbacks that allows the entry point of the library to be 15 // Registers the callbacks that allows the entry point of the library to be
15 // exposed to the calling java code. This handles only registering the content 16 // exposed to the calling java code. This handles only registering the content
16 // specific callbacks. Any application specific JNI bindings should happen 17 // specific callbacks. Any application specific JNI bindings should happen
17 // once the native library has fully loaded. 18 // once the native library has fully loaded.
18 bool RegisterLibraryLoaderEntryHook(JNIEnv* env); 19 CONTENT_EXPORT bool RegisterLibraryLoaderEntryHook(JNIEnv* env);
19 20
20 // Call on exit to delete the AtExitManager which OnLibraryLoadedOnUIThread 21 // Call on exit to delete the AtExitManager which OnLibraryLoadedOnUIThread
21 // created. 22 // created.
22 void LibraryLoaderExitHook(); 23 CONTENT_EXPORT void LibraryLoaderExitHook();
23 24
24 } // namespace content 25 } // namespace content
25 26
26 #endif // CONTENT_PUBLIC_APP_ANDROID_LIBRARY_LOADER_HOOKS_H_ 27 #endif // CONTENT_PUBLIC_APP_ANDROID_LIBRARY_LOADER_HOOKS_H_
27
OLDNEW
« no previous file with comments | « content/browser/renderer_host/compositor_impl_android.h ('k') | content/public/app/content_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698