diff options
author | blundell <blundell@chromium.org> | 2015-11-05 06:07:50 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-05 14:08:37 +0000 |
commit | 373c28c6860eb22a5287a6c8eb31379d1364d5bb (patch) | |
tree | 17eb73a8a157dba07688a72136293627daf9bd00 /components/browser_sync/common/browser_sync_switches.h | |
parent | 2bccc2cf38624593e1adafefccec7314aa573b0f (diff) | |
download | chromium_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.h | 18 |
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_ |