summaryrefslogtreecommitdiff
path: root/chromium/components/browser_sync/browser_sync_switches.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/browser_sync/browser_sync_switches.cc')
-rw-r--r--chromium/components/browser_sync/browser_sync_switches.cc22
1 files changed, 22 insertions, 0 deletions
diff --git a/chromium/components/browser_sync/browser_sync_switches.cc b/chromium/components/browser_sync/browser_sync_switches.cc
new file mode 100644
index 00000000000..b354cdb91c3
--- /dev/null
+++ b/chromium/components/browser_sync/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/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/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