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

Unified Diff: components/browser_sync/common/browser_sync_switches.cc

Issue 1408003010: [sync] Componentize switches used by ProfileSyncService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@more_pss_chrome_deps
Patch Set: Rebase Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/browser_sync/common/browser_sync_switches.h ('k') | components/components.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browser_sync/common/browser_sync_switches.cc
diff --git a/components/browser_sync/common/browser_sync_switches.cc b/components/browser_sync/common/browser_sync_switches.cc
new file mode 100644
index 0000000000000000000000000000000000000000..927d31c328db42de7139b04d623060630e4ddaa9
--- /dev/null
+++ b/components/browser_sync/common/browser_sync_switches.cc
@@ -0,0 +1,22 @@
+// Copyright 2015 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.
+
+#include "components/browser_sync/common/browser_sync_switches.h"
+
+namespace switches {
+
+// Disables syncing browser data to a Google Account.
+const char kDisableSync[] = "disable-sync";
+
+// Disables syncing one or more sync data types that are on by default.
+// See sync/internal_api/public/base/model_type.h for possible types. Types
+// should be comma separated, and follow the naming convention for string
+// representation of model types, e.g.:
+// --disable-synctypes='Typed URLs, Bookmarks, Autofill Profiles'
+const char kDisableSyncTypes[] = "disable-sync-types";
+
+// Enables synchronizing WiFi credentials across devices, using Chrome Sync.
+const char kEnableWifiCredentialSync[] = "enable-wifi-credential-sync";
+
+} // namespace switches
« no previous file with comments | « components/browser_sync/common/browser_sync_switches.h ('k') | components/components.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698