1 // Copyright 2015 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 #include "components/browser_sync/browser_sync_switches.h"
6 
7 namespace switches {
8 
9 // Disables syncing one or more sync data types that are on by default.
10 // See sync/base/model_type.h for possible types. Types
11 // should be comma separated, and follow the naming convention for string
12 // representation of model types, e.g.:
13 // --disable-synctypes='Typed URLs, Bookmarks, Autofill Profiles'
14 const char kDisableSyncTypes[] = "disable-sync-types";
15 
16 // Enabled the local sync backend implemented by the LoopbackServer.
17 const char kEnableLocalSyncBackend[] = "enable-local-sync-backend";
18 
19 // Specifies the local sync backend directory. The name is chosen to mimic
20 // user-data-dir etc. This flag only matters if the enable-local-sync-backend
21 // flag is present.
22 const char kLocalSyncBackendDir[] = "local-sync-backend-dir";
23 
24 #if defined(OS_ANDROID)
25 const base::Feature kSyncUseSessionsUnregisterDelay{
26     "SyncUseSessionsUnregisterDelay", base::FEATURE_DISABLED_BY_DEFAULT};
27 
28 const base::Feature kSyncErrorInfoBarAndroid{"SyncErrorInfoBarAndroid",
29                                              base::FEATURE_DISABLED_BY_DEFAULT};
30 #endif  // defined(OS_ANDROID)
31 
32 }  // namespace switches
33