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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/android/library_loader_hooks.h
diff --git a/content/public/app/android_library_loader_hooks.h b/content/app/android/library_loader_hooks.h
similarity index 61%
rename from content/public/app/android_library_loader_hooks.h
rename to content/app/android/library_loader_hooks.h
index f6779c6a1499cd317ade07760b9dd5094293c577..a1cb075afd327dea5406704c059289c8bf31138a 100644
--- a/content/public/app/android_library_loader_hooks.h
+++ b/content/app/android/library_loader_hooks.h
@@ -2,27 +2,25 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_PUBLIC_APP_ANDROID_LIBRARY_LOADER_HOOKS_H_
-#define CONTENT_PUBLIC_APP_ANDROID_LIBRARY_LOADER_HOOKS_H_
+#ifndef CONTENT_APP_ANDROID_LIBRARY_LOADER_HOOKS_H_
+#define CONTENT_APP_ANDROID_LIBRARY_LOADER_HOOKS_H_
#include <jni.h>
#include "base/basictypes.h"
-#include "content/common/content_export.h"
namespace content {
// Register all content JNI functions now, rather than waiting for the process
// of fully loading the native library to complete.
-CONTENT_EXPORT bool EnsureJniRegistered(JNIEnv* env);
+bool EnsureJniRegistered(JNIEnv* env);
// Do the intialization of content needed immediately after the native library
// has loaded.
// This is designed to be used as a hook function to be passed to
// base::android::SetLibraryLoadedHook
-CONTENT_EXPORT bool LibraryLoaded(JNIEnv* env,
- jclass clazz);
+bool LibraryLoaded(JNIEnv* env, jclass clazz);
} // namespace content
-#endif // CONTENT_PUBLIC_APP_ANDROID_LIBRARY_LOADER_HOOKS_H_
+#endif // CONTENT_APP_ANDROID_LIBRARY_LOADER_HOOKS_H_
« 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