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

Unified Diff: components/navigation_interception/component_jni_registrar.cc

Issue 2146753002: Android: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android: Don't require RegisterNatives if there are none Created 4 years, 4 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: components/navigation_interception/component_jni_registrar.cc
diff --git a/components/navigation_interception/component_jni_registrar.cc b/components/navigation_interception/component_jni_registrar.cc
deleted file mode 100644
index f22367e0684b8287c47584d57c414f6339508cd3..0000000000000000000000000000000000000000
--- a/components/navigation_interception/component_jni_registrar.cc
+++ /dev/null
@@ -1,25 +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 "components/navigation_interception/component_jni_registrar.h"
-
-#include "base/android/jni_android.h"
-#include "base/android/jni_registrar.h"
-#include "base/macros.h"
-#include "components/navigation_interception/intercept_navigation_delegate.h"
-#include "components/navigation_interception/navigation_params_android.h"
-
-namespace navigation_interception {
-
-static base::android::RegistrationMethod kComponentRegisteredMethods[] = {
- { "InterceptNavigationDelegate", RegisterInterceptNavigationDelegate },
- { "NavigationParams", RegisterNavigationParams },
-};
-
-bool RegisterNavigationInterceptionJni(JNIEnv* env) {
- return RegisterNativeMethods(
- env, kComponentRegisteredMethods, arraysize(kComponentRegisteredMethods));
-}
-
-} // namespace navigation_interception

Powered by Google App Engine
This is Rietveld 408576698