chromium/components/services/app_service/public/cpp/share_target.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_SHARE_TARGET_H_
#define COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_SHARE_TARGET_H_

#include <ostream>
#include <string>
#include <vector>

#include "base/values.h"
#include "url/gurl.h"

namespace apps {

// https://w3c.github.io/web-share-target/level-2/#sharetarget-and-its-members
// https://w3c.github.io/web-share-target/level-2/#sharetargetfiles-and-its-members
// https://w3c.github.io/web-share-target/level-2/#sharetargetparams-and-its-members

struct ShareTarget {};

bool operator==(const ShareTarget& share_target1,
                const ShareTarget& share_target2);
bool operator==(const ShareTarget::Params& params1,
                const ShareTarget::Params& params2);
bool operator==(const ShareTarget::Files& files1,
                const ShareTarget::Files& files2);

bool operator!=(const ShareTarget& share_target1,
                const ShareTarget& share_target2);
bool operator!=(const ShareTarget::Params& params1,
                const ShareTarget::Params& params2);
bool operator!=(const ShareTarget::Files& files1,
                const ShareTarget::Files& files2);

}  // namespace apps

#endif  // COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_SHARE_TARGET_H_