#include "remoting/base/session_options.h"
#include <vector>
#include "base/containers/contains.h"
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
namespace remoting {
namespace {
static constexpr char kSeparator = …;
static constexpr char kKeyValueSeparator = …;
bool ValueIsValid(const std::string& value) { … }
bool KeyIsValid(const std::string& key) { … }
}
SessionOptions::SessionOptions() = default;
SessionOptions::SessionOptions(const SessionOptions& other) = default;
SessionOptions::SessionOptions(SessionOptions&& other) = default;
SessionOptions::SessionOptions(const std::string& parameter) { … }
SessionOptions::~SessionOptions() = default;
SessionOptions& SessionOptions::operator=(const SessionOptions& other) =
default;
SessionOptions& SessionOptions::operator=(SessionOptions&& other) = default;
void SessionOptions::Append(const std::string& key, const std::string& value) { … }
std::optional<std::string> SessionOptions::Get(const std::string& key) const { … }
std::optional<bool> SessionOptions::GetBool(const std::string& key) const { … }
bool SessionOptions::GetBoolValue(const std::string& key) const { … }
std::optional<int> SessionOptions::GetInt(const std::string& key) const { … }
std::string SessionOptions::Export() const { … }
void SessionOptions::Import(const std::string& parameter) { … }
}