// Copyright 2019 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. #ifndef URL_ANDROID_GURL_ANDROID_H_ #define URL_ANDROID_GURL_ANDROID_H_ #include #include "base/android/scoped_java_ref.h" #include "url/gurl.h" namespace url { class GURLAndroid { public: static std::unique_ptr ToNativeGURL( JNIEnv* env, const base::android::JavaRef& j_gurl); static base::android::ScopedJavaLocalRef FromNativeGURL( JNIEnv* env, const GURL& gurl); static base::android::ScopedJavaLocalRef EmptyGURL(JNIEnv* env); }; } // namespace url #endif // URL_ANDROID_GURL_ANDROID_H_