#include "components/sync/test/mock_invalidation.h"
#include "base/check.h"
#include "components/sync/test/mock_invalidation_tracker.h"
namespace syncer {
std::unique_ptr<MockInvalidation> MockInvalidation::BuildUnknownVersion() { … }
std::unique_ptr<MockInvalidation> MockInvalidation::Build(
int64_t version,
const std::string& payload) { … }
MockInvalidation::~MockInvalidation() = default;
bool MockInvalidation::IsUnknownVersion() const { … }
const std::string& MockInvalidation::GetPayload() const { … }
int64_t MockInvalidation::GetVersion() const { … }
void MockInvalidation::Acknowledge() { … }
void MockInvalidation::Drop() { … }
MockInvalidation::MockInvalidation(bool is_unknown_version,
int64_t version,
const std::string& payload)
: … { … }
}