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

Unified Diff: android_webview/lib/main/webview_entry_point.cc

Issue 2901333003: [WebView] Flatten lib/main to lib (Closed)
Patch Set: nits Created 3 years, 7 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 | « android_webview/lib/main/aw_main_delegate.cc ('k') | android_webview/lib/main/webview_jni_onload.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/lib/main/webview_entry_point.cc
diff --git a/android_webview/lib/main/webview_entry_point.cc b/android_webview/lib/main/webview_entry_point.cc
deleted file mode 100644
index c13e331c10dbae56c96eb0ad8a3196f211d0dcc6..0000000000000000000000000000000000000000
--- a/android_webview/lib/main/webview_entry_point.cc
+++ /dev/null
@@ -1,19 +0,0 @@
-// 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.
-
-#include "android_webview/lib/main/webview_jni_onload.h"
-#include "base/android/jni_android.h"
-#include "base/android/library_loader/library_loader_hooks.h"
-
-// This is called by the VM when the shared library is first loaded.
-// Most of the initialization is done in LibraryLoadedOnMainThread(), not here.
-JNI_EXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) {
- // WebView uses native JNI exports; disable manual JNI registration because
- // we don't have a good way to detect the JNI registrations which is called,
- // outside of OnJNIOnLoadRegisterJNI code path.
- base::android::SetJniRegistrationType(base::android::NO_JNI_REGISTRATION);
- base::android::InitVM(vm);
- base::android::SetNativeInitializationHook(&android_webview::OnJNIOnLoadInit);
- return JNI_VERSION_1_4;
-}
« no previous file with comments | « android_webview/lib/main/aw_main_delegate.cc ('k') | android_webview/lib/main/webview_jni_onload.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698