sync_mode.h 689 B

123456789101112131415161718
  1. // Copyright 2018 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef COMPONENTS_SYNC_BASE_SYNC_MODE_H_
  5. #define COMPONENTS_SYNC_BASE_SYNC_MODE_H_
  6. namespace syncer {
  7. // Specifies whether the sync machinery is running in full-Sync mode (aka
  8. // Sync-the-feature) or transport-only mode. In transport-only mode, only a
  9. // subset of data types is allowed, and any local data is removed on sign-out.
  10. // Passed as an argument when configuring sync / individual data types.
  11. enum class SyncMode { kTransportOnly, kFull };
  12. } // namespace syncer
  13. #endif // COMPONENTS_SYNC_BASE_SYNC_MODE_H_