chromium/components/services/app_service/public/cpp/url_handler_info.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 COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_URL_HANDLER_INFO_H_
#define COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_URL_HANDLER_INFO_H_

#include <string>
#include <vector>

#include "base/compiler_specific.h"
#include "base/values.h"
#include "url/origin.h"

namespace apps {

// Contains information about a web app's URL handler information derived from
// its web app manifest.
struct UrlHandlerInfo {};

UrlHandlers;

bool operator==(const UrlHandlerInfo& url_handler1,
                const UrlHandlerInfo& url_handler2);

bool operator!=(const UrlHandlerInfo& url_handler1,
                const UrlHandlerInfo& url_handler2);

// Allow UrlHandlerInfo to be used as a key in STL (for example, a std::set or
// std::map).
bool operator<(const UrlHandlerInfo& url_handler1,
               const UrlHandlerInfo& url_handler2);

}  // namespace apps

#endif  // COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_URL_HANDLER_INFO_H_