chromium/components/sync/engine/cycle/model_neutral_state.h

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_SYNC_ENGINE_CYCLE_MODEL_NEUTRAL_STATE_H_
#define COMPONENTS_SYNC_ENGINE_CYCLE_MODEL_NEUTRAL_STATE_H_

#include "components/sync/base/data_type.h"
#include "components/sync/engine/syncer_error.h"

namespace syncer {

// Grouping of all state that applies to all data types.  Note that some
// components of the global grouping can internally implement finer grained
// scope control, but the top level entity is still a singleton with respect to
// data types.
struct ModelNeutralState {};

bool HasSyncerError(const ModelNeutralState& state);

}  // namespace syncer

#endif  // COMPONENTS_SYNC_ENGINE_CYCLE_MODEL_NEUTRAL_STATE_H_