1 // Copyright 2019 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 #ifndef URL_ANDROID_PARSED_ANDROID_H_ 6 #define URL_ANDROID_PARSED_ANDROID_H_ 7 8 #include "base/android/scoped_java_ref.h" 9 #include "base/component_export.h" 10 #include "url/third_party/mozilla/url_parse.h" 11 12 namespace url { 13 14 class ParsedAndroid { 15 public: 16 COMPONENT_EXPORT(URL) 17 static base::android::ScopedJavaLocalRef<jobject> InitFromParsed( 18 JNIEnv* env, 19 const Parsed& parsed); 20 }; 21 22 } // namespace url 23 24 #endif // URL_ANDROID_PARSED_ANDROID_H_ 25