chromium/components/payments/core/url_util.h

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

#ifndef COMPONENTS_PAYMENTS_CORE_URL_UTIL_H_
#define COMPONENTS_PAYMENTS_CORE_URL_UTIL_H_

class GURL;

namespace payments {

// Use case specific URL validity checker for web payment APIs.
//
// The command line must be initialized to use this class in tests, because it
// checks for --unsafely-treat-insecure-origin-as-secure=<origin> flag. For
// example:
//  base::CommandLine::Init(0, nullptr);
class UrlUtil {};

}  // namespace payments

#endif  // COMPONENTS_PAYMENTS_CORE_URL_UTIL_H_