#include "chrome/browser/sync/test/integration/quiesce_status_change_checker.h"
#include <stddef.h>
#include "base/format_macros.h"
#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/string_number_conversions.h"
#include "chrome/browser/sync/test/integration/updated_progress_marker_checker.h"
#include "components/sync/engine/cycle/sync_cycle_snapshot.h"
#include "components/sync/protocol/data_type_progress_marker.pb.h"
#include "components/sync/service/sync_service_impl.h"
#include "components/sync/test/fake_server.h"
namespace {
bool AreProgressMarkersEquivalent(const std::string& serialized1,
const std::string& serialized2) { … }
bool ProgressMarkersMatch(const syncer::SyncServiceImpl* service1,
const syncer::SyncServiceImpl* service2,
std::ostream* os) { … }
}
class QuiesceStatusChangeChecker::NestedUpdatedProgressMarkerChecker
: public UpdatedProgressMarkerChecker { … };
QuiesceStatusChangeChecker::QuiesceStatusChangeChecker(
std::vector<raw_ptr<syncer::SyncServiceImpl, VectorExperimental>> services)
: … { … }
QuiesceStatusChangeChecker::~QuiesceStatusChangeChecker() = default;
bool QuiesceStatusChangeChecker::IsExitConditionSatisfied(std::ostream* os) { … }