Disable firewall check. It takes signifficant time, need to be on FILE thread.
[chromium-blink-merge.git] / components / navigation_interception / component_jni_registrar.cc
blob9663529d7cc178877d742ad447b06485cce45de5
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "components/navigation_interception/component_jni_registrar.h"
7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h"
9 #include "components/navigation_interception/intercept_navigation_delegate.h"
10 #include "components/navigation_interception/navigation_params_android.h"
12 namespace navigation_interception {
14 static base::android::RegistrationMethod kComponentRegisteredMethods[] = {
15 { "InterceptNavigationDelegate", RegisterInterceptNavigationDelegate },
16 { "NavigationParams", RegisterNavigationParams },
19 bool RegisterNavigationInterceptionJni(JNIEnv* env) {
20 return RegisterNativeMethods(
21 env, kComponentRegisteredMethods, arraysize(kComponentRegisteredMethods));
24 } // namespace navigation_interception