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

Unified Diff: chrome/app/android/chrome_jni_onload.h

Issue 970243003: Refactoring chrome JNI registration. (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
Index: chrome/app/android/chrome_jni_onload.h
diff --git a/chrome/app/android/chrome_jni_onload.h b/chrome/app/android/chrome_jni_onload.h
new file mode 100644
index 0000000000000000000000000000000000000000..7700af8ac0642c9cb1d48968cbc0f7a0c74bfd30
--- /dev/null
+++ b/chrome/app/android/chrome_jni_onload.h
@@ -0,0 +1,22 @@
+// Copyright 2015 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 CHROME_APP_ANDROID_CHROME_JNI_ONLOAD_H_
+#define CHROME_APP_ANDROID_CHROME_JNI_ONLOAD_H_
+
+#include "base/android/base_jni_onload.h"
+
+namespace chrome {
+namespace android {
+
+bool OnJNIOnLoadRegisterJNI(
+ JavaVM* vm,
+ base::android::RegisterCallback callback);
+
+bool OnJNIOnLoadInit(base::android::InitCallback callback);
+
+} // namespace android
+} // namespace chrome
+
+#endif // CHROME_APP_ANDROID_CHROME_JNI_ONLOAD_H_
« no previous file with comments | « chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc ('k') | chrome/app/android/chrome_jni_onload.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698