blob: 3bd91a3941a687234f7d75647787bad295c4820d [file] [log] [blame]
// Copyright 2020 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.
package org.chromium.url;
import org.chromium.base.annotations.CalledByNative;
import org.chromium.base.annotations.JNINamespace;
/**
* Helpers for GURLJavaTest that need to call into native code.
*/
@JNINamespace("url")
public class GURLJavaTestHelper {
@CalledByNative
public static GURL createGURL(String uri) {
return new GURL(uri);
}
public static native void nativeInitializeICU();
public static native void nativeTestGURLEquivalence();
}