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 
5 #ifndef COMPONENTS_SYNC_BASE_SYNC_MODE_H_
6 #define COMPONENTS_SYNC_BASE_SYNC_MODE_H_
7 
8 namespace syncer {
9 
10 // Specifies whether the sync machinery is running in full-Sync mode (aka
11 // Sync-the-feature) or transport-only mode. In transport-only mode, only a
12 // subset of data types is allowed, and any local data is removed on sign-out.
13 // Passed as an argument when configuring sync / individual data types.
14 enum class SyncMode { kTransportOnly, kFull };
15 
16 }  // namespace syncer
17 
18 #endif  // COMPONENTS_SYNC_BASE_SYNC_MODE_H_
19