• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2022 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 package org.chromium.url;
6 
7 import org.jni_zero.JNINamespace;
8 import org.jni_zero.NativeMethods;
9 
10 /** Helpers for OriginJavaTest that need to call into native code. */
11 @JNINamespace("url")
12 public class OriginJavaTestHelper {
testOriginEquivalence()13     public static void testOriginEquivalence() {
14         OriginJavaTestHelperJni.get().testOriginEquivalence();
15     }
16 
17     @NativeMethods
18     interface Natives {
testOriginEquivalence()19         void testOriginEquivalence();
20     }
21 }
22