OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 BASE_ANDROID_LIBRARY_LOADER_HOOKS_H_ | 5 #ifndef BASE_ANDROID_LIBRARY_LOADER_LIBRARY_LOADER_HOOKS_H_ |
6 #define BASE_ANDROID_LIBRARY_LOADER_HOOKS_H_ | 6 #define BASE_ANDROID_LIBRARY_LOADER_LIBRARY_LOADER_HOOKS_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include "base/base_export.h" | 10 #include "base/base_export.h" |
11 | 11 |
12 namespace base { | 12 namespace base { |
13 namespace android { | 13 namespace android { |
14 | 14 |
15 // The process the shared library is loaded in. | 15 // The process the shared library is loaded in. |
16 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.base.library_loader | 16 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.base.library_loader |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // Call on exit to delete the AtExitManager which OnLibraryLoadedOnUIThread | 60 // Call on exit to delete the AtExitManager which OnLibraryLoadedOnUIThread |
61 // created. | 61 // created. |
62 BASE_EXPORT void LibraryLoaderExitHook(); | 62 BASE_EXPORT void LibraryLoaderExitHook(); |
63 | 63 |
64 // Return the process type the shared library is loaded in. | 64 // Return the process type the shared library is loaded in. |
65 BASE_EXPORT LibraryProcessType GetLibraryProcessType(JNIEnv* env); | 65 BASE_EXPORT LibraryProcessType GetLibraryProcessType(JNIEnv* env); |
66 | 66 |
67 } // namespace android | 67 } // namespace android |
68 } // namespace base | 68 } // namespace base |
69 | 69 |
70 #endif // BASE_ANDROID_LIBRARY_LOADER_HOOKS_H_ | 70 #endif // BASE_ANDROID_LIBRARY_LOADER_LIBRARY_LOADER_HOOKS_H_ |
OLD | NEW |