#include "extensions/common/manifest_handlers/trial_tokens_handler.h"
#include <memory>
#include <utility>
#include "base/strings/stringprintf.h"
#include "base/values.h"
#include "extensions/common/manifest.h"
#include "extensions/common/manifest_constants.h"
namespace extensions {
namespace {
const size_t kMaxTokenCount = …;
const size_t kMaxTokenSize = …;
const TrialTokens* GetTokens(const Extension& extension) { … }
}
TrialTokens::TrialTokens(std::set<std::string> tokens)
: … { … }
TrialTokens::TrialTokens(TrialTokens&& other) = default;
TrialTokens::~TrialTokens() = default;
const std::set<std::string>* TrialTokens::GetTrialTokens(
const Extension& extension) { … }
bool TrialTokens::HasTrialTokens(const Extension& extension) { … }
TrialTokensHandler::TrialTokensHandler() = default;
TrialTokensHandler::~TrialTokensHandler() = default;
bool TrialTokensHandler::Parse(Extension* extension, std::u16string* error) { … }
base::span<const char* const> TrialTokensHandler::Keys() const { … }
}