summaryrefslogtreecommitdiffstats
path: root/components/browser_sync/common/browser_sync_switches.h
diff options
context:
space:
mode:
authorblundell <blundell@chromium.org>2015-11-05 06:07:50 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-05 14:08:37 +0000
commit373c28c6860eb22a5287a6c8eb31379d1364d5bb (patch)
tree17eb73a8a157dba07688a72136293627daf9bd00 /components/browser_sync/common/browser_sync_switches.h
parent2bccc2cf38624593e1adafefccec7314aa573b0f (diff)
downloadchromium_src-373c28c6860eb22a5287a6c8eb31379d1364d5bb.zip
chromium_src-373c28c6860eb22a5287a6c8eb31379d1364d5bb.tar.gz
chromium_src-373c28c6860eb22a5287a6c8eb31379d1364d5bb.tar.bz2
[sync] Componentize switches used by ProfileSyncService
This CL componentizes switches used by ProfileSyncService and ProfileSyncComponentsFactoryImpl into a new browser_sync component in anticipation of componentizing those files into that component. These switches are used by //cloud_print/service, and so are componentized into //components/browser_sync/common to allow for that dependency without //cloud_print/service incurring a dependency on the browser-side code (e.g., ProfileSyncService) once that code is componentized. BUG=512825 TBR=jochen Review URL: https://codereview.chromium.org/1408003010 Cr-Commit-Position: refs/heads/master@{#358048}
Diffstat (limited to 'components/browser_sync/common/browser_sync_switches.h')
-rw-r--r--components/browser_sync/common/browser_sync_switches.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/components/browser_sync/common/browser_sync_switches.h b/components/browser_sync/common/browser_sync_switches.h
new file mode 100644
index 0000000..e8d0235
--- /dev/null
+++ b/components/browser_sync/common/browser_sync_switches.h
@@ -0,0 +1,18 @@
+// 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.
+
+// Defines all the command-line switches used by //components/browser_sync.
+
+#ifndef COMPONENTS_BROWSER_SYNC_COMMON_BROWSER_SYNC_SWITCHES_H_
+#define COMPONENTS_BROWSER_SYNC_COMMON_BROWSER_SYNC_SWITCHES_H_
+
+namespace switches {
+
+extern const char kDisableSync[];
+extern const char kDisableSyncTypes[];
+extern const char kEnableWifiCredentialSync[];
+
+} // namespace switches
+
+#endif // COMPONENTS_BROWSER_SYNC_COMMON_BROWSER_SYNC_SWITCHES_H_