chromium/third_party/openscreen/src/util/url.h

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UTIL_URL_H_
#define UTIL_URL_H_

#include <cstdint>
#include <string>

#include "util/osp_logging.h"

namespace openscreen {

// Parses a URL and stores its components separately.  If parsing is successful,
// is_valid() will return true, otherwise no other members should be accessed.
// This is a thin wrapper around
// //third_party/googleurl/src/url/third_party/mozilla.  It does not handle
// file: or mailto: URLs.
class Url {};

}  // namespace openscreen

#endif  // UTIL_URL_H_