summaryrefslogtreecommitdiff
path: root/chromium/url/android/parsed_android.h
blob: cb8f2ba75b90e5405c5bb49108ea1a595d759c9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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_PARSED_ANDROID_H_
#define URL_ANDROID_PARSED_ANDROID_H_

#include "base/android/scoped_java_ref.h"
#include "url/third_party/mozilla/url_parse.h"

namespace url {

class ParsedAndroid {
 public:
  static base::android::ScopedJavaLocalRef<jobject> InitFromParsed(
      JNIEnv* env,
      const Parsed& parsed);
};

}  // namespace url

#endif  // URL_ANDROID_PARSED_ANDROID_H_