// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file is autogenerated by // third_party/jni_zero/jni_generator.py // For // android/net/connectivity/org/chromium/net/GURLUtils #ifndef android_net_connectivity_org_chromium_net_GURLUtils_JNI #define android_net_connectivity_org_chromium_net_GURLUtils_JNI #include #include "third_party/jni_zero/jni_export.h" #include "third_party/jni_zero/jni_zero_helper.h" // Step 1: Forward declarations. // Step 2: Constants (optional). // Step 3: Method stubs. namespace net { static base::android::ScopedJavaLocalRef JNI_GURLUtils_GetOrigin(JNIEnv* env, const base::android::JavaParamRef& url); JNI_BOUNDARY_EXPORT jstring Java_android_net_connectivity_J_N_MMZmegZ6( JNIEnv* env, jclass jcaller, jstring url) { return JNI_GURLUtils_GetOrigin(env, base::android::JavaParamRef(env, url)).Release(); } } // namespace net #endif // android_net_connectivity_org_chromium_net_GURLUtils_JNI