blob: b56e093758fcf82bfd47b9449d3f2e078a5a2a9e [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
namespace syncer {
// Passed as an argument when stopping sync to control whether models should
// clear its metadata (e.g. sync disabled vs browser shutdown).
// TODO(mastiz): Unify with SyncStopDataFate.
enum SyncStopMetadataFate { KEEP_METADATA, CLEAR_METADATA };
const char* SyncStopMetadataFateToString(SyncStopMetadataFate metadata_fate);
} // namespace syncer