#include "chrome/browser/web_applications/external_install_options.h"
#include <ostream>
#include <string>
#include <tuple>
#include <vector>
#include "base/not_fatal_until.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/web_applications/mojom/user_display_mode.mojom.h"
#include "chrome/browser/web_applications/proto/web_app_install_state.pb.h"
#include "chrome/browser/web_applications/user_display_mode.h"
#include "third_party/blink/public/common/manifest/manifest_util.h"
namespace web_app {
ExternalInstallOptions::ExternalInstallOptions(
const GURL& install_url,
std::optional<mojom::UserDisplayMode> user_display_mode,
ExternalInstallSource install_source)
: … { … }
ExternalInstallOptions::~ExternalInstallOptions() = default;
ExternalInstallOptions::ExternalInstallOptions(
const ExternalInstallOptions& other) = default;
ExternalInstallOptions::ExternalInstallOptions(ExternalInstallOptions&& other) =
default;
ExternalInstallOptions& ExternalInstallOptions::operator=(
const ExternalInstallOptions& other) = default;
bool ExternalInstallOptions::operator==(
const ExternalInstallOptions& other) const { … }
base::Value ExternalInstallOptions::AsDebugValue() const { … }
WebAppInstallParams ConvertExternalInstallOptionsToParams(
const ExternalInstallOptions& install_options) { … }
}