Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Side by Side Diff: components/browser_sync/browser_sync_switches.cc

Issue 2473613003: [Sync] Adds a new switch for enabling the new local server backend. (Closed)
Patch Set: Ifdef protect the variable. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/browser_sync/browser_sync_switches.h" 5 #include "components/browser_sync/browser_sync_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // Disables syncing browser data to a Google Account. 9 // Disables syncing browser data to a Google Account.
10 const char kDisableSync[] = "disable-sync"; 10 const char kDisableSync[] = "disable-sync";
11 11
12 // Disables syncing one or more sync data types that are on by default. 12 // Disables syncing one or more sync data types that are on by default.
13 // See sync/base/model_type.h for possible types. Types 13 // See sync/base/model_type.h for possible types. Types
14 // should be comma separated, and follow the naming convention for string 14 // should be comma separated, and follow the naming convention for string
15 // representation of model types, e.g.: 15 // representation of model types, e.g.:
16 // --disable-synctypes='Typed URLs, Bookmarks, Autofill Profiles' 16 // --disable-synctypes='Typed URLs, Bookmarks, Autofill Profiles'
17 const char kDisableSyncTypes[] = "disable-sync-types"; 17 const char kDisableSyncTypes[] = "disable-sync-types";
18 18
19 // Enables synchronizing WiFi credentials across devices, using Chrome Sync. 19 // Enables synchronizing WiFi credentials across devices, using Chrome Sync.
20 const char kEnableWifiCredentialSync[] = "enable-wifi-credential-sync"; 20 const char kEnableWifiCredentialSync[] = "enable-wifi-credential-sync";
21 21
22 // Enabled the local sync backend implemented by the LoopbackServer.
23 const char kEnableLocalSyncBackend[] = "enable-local-sync-backend";
24
25 // Specifies the local sync backend directory. The name is chosen to mimic
26 // user-data-dir etc. This flag only matters if the enable-local-sync-backend
27 // flag is present.
28 const char kLocalSyncBackendDir[] = "local-sync-backend-dir";
29
22 } // namespace switches 30 } // namespace switches
OLDNEW
« no previous file with comments | « components/browser_sync/browser_sync_switches.h ('k') | components/browser_sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698