#include "extensions/common/manifest_handlers/replacement_apps.h"
#include <memory>
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "extensions/common/manifest.h"
#include "extensions/common/manifest_constants.h"
#include "url/gurl.h"
#include "url/url_constants.h"
namespace extensions {
keys;
errors;
namespace {
const char kReplacementApps[] = …;
const ReplacementAppsInfo* GetReplacementAppsInfo(const Extension* extension) { … }
}
ReplacementAppsInfo::ReplacementAppsInfo() = default;
ReplacementAppsInfo::~ReplacementAppsInfo() = default;
bool ReplacementAppsInfo::HasReplacementWebApp(const Extension* extension) { … }
GURL ReplacementAppsInfo::GetReplacementWebApp(const Extension* extension) { … }
bool ReplacementAppsInfo::LoadWebApp(const Extension* extension,
std::u16string* error) { … }
bool ReplacementAppsInfo::Parse(const Extension* extension,
std::u16string* error) { … }
ReplacementAppsHandler::ReplacementAppsHandler() = default;
ReplacementAppsHandler::~ReplacementAppsHandler() = default;
bool ReplacementAppsHandler::Parse(Extension* extension,
std::u16string* error) { … }
base::span<const char* const> ReplacementAppsHandler::Keys() const { … }
}