| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/navigation_interception/navigation_params_android.h" | 5 #include "components/navigation_interception/navigation_params_android.h" |
| 6 | 6 |
| 7 #include "base/android/jni_string.h" | 7 #include "base/android/jni_string.h" |
| 8 #include "jni/NavigationParams_jni.h" | 8 #include "jni/NavigationParams_jni.h" |
| 9 | 9 |
| 10 using base::android::ConvertUTF8ToJavaString; | 10 using base::android::ConvertUTF8ToJavaString; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 jstring_referrer.obj(), | 27 jstring_referrer.obj(), |
| 28 params.is_post(), | 28 params.is_post(), |
| 29 params.has_user_gesture(), | 29 params.has_user_gesture(), |
| 30 params.transition_type(), | 30 params.transition_type(), |
| 31 params.is_redirect(), | 31 params.is_redirect(), |
| 32 params.is_external_protocol(), | 32 params.is_external_protocol(), |
| 33 params.is_main_frame(), | 33 params.is_main_frame(), |
| 34 has_user_gesture_carryover); | 34 has_user_gesture_carryover); |
| 35 } | 35 } |
| 36 | 36 |
| 37 // Register native methods. | |
| 38 | |
| 39 bool RegisterNavigationParams(JNIEnv* env) { | |
| 40 return RegisterNativesImpl(env); | |
| 41 } | |
| 42 | |
| 43 } // namespace navigation_interception | 37 } // namespace navigation_interception |
| OLD | NEW |