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

Unified Diff: content/browser/android/library_loader_hooks.h

Issue 10035034: Implement the skeleton of an android content shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing up most of the review comments. Created 8 years, 8 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
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
John Grabowski 2012/04/19 18:55:27 Explain why minimal? Why not all?
Ted C 2012/04/19 23:21:07 Done. Basically this loads all the generic conten
+// 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_

Powered by Google App Engine
This is Rietveld 408576698