• 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.chromium.base.annotations.JNINamespace;
8 import org.chromium.base.annotations.NativeMethods;
9 
10 /**
11  * Helpers for OriginJavaTest that need to call into native code.
12  */
13 @JNINamespace("url")
14 public class OriginJavaTestHelper {
testOriginEquivalence()15     public static void testOriginEquivalence() {
16         OriginJavaTestHelperJni.get().testOriginEquivalence();
17     }
18 
19     @NativeMethods
20     interface Natives {
testOriginEquivalence()21         void testOriginEquivalence();
22     }
23 }
24