#include "components/update_client/protocol_parser.h"
#include <string>
#include "base/strings/stringprintf.h"
namespace update_client {
const char ProtocolParser::Result::kCohort[] = …;
const char ProtocolParser::Result::kCohortHint[] = …;
const char ProtocolParser::Result::kCohortName[] = …;
ProtocolParser::ProtocolParser() = default;
ProtocolParser::~ProtocolParser() = default;
ProtocolParser::Results::Results() = default;
ProtocolParser::Results::Results(const Results& other) = default;
ProtocolParser::Results::~Results() = default;
ProtocolParser::Result::Result() = default;
ProtocolParser::Result::Result(const Result& other) = default;
ProtocolParser::Result::~Result() = default;
ProtocolParser::Result::Manifest::Manifest() = default;
ProtocolParser::Result::Manifest::Manifest(const Manifest& other) = default;
ProtocolParser::Result::Manifest::~Manifest() = default;
ProtocolParser::Result::Manifest::Package::Package() = default;
ProtocolParser::Result::Manifest::Package::Package(const Package& other) =
default;
ProtocolParser::Result::Manifest::Package::~Package() = default;
ProtocolParser::Result::Data::Data() = default;
ProtocolParser::Result::Data::Data(const Data& other) = default;
ProtocolParser::Result::Data& ProtocolParser::Result::Data::operator=(
const Data&) = default;
ProtocolParser::Result::Data::Data(const std::string& status,
const std::string& name,
const std::string& install_data_index,
const std::string& text)
: … { … }
ProtocolParser::Result::Data::~Data() = default;
void ProtocolParser::ParseError(const char* details, ...) { … }
bool ProtocolParser::Parse(const std::string& response) { … }
}