1// Copyright 2014 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "components/password_manager/core/common/password_manager_switches.h"
6
7namespace password_manager {
8
9namespace switches {
10
11// Force the password manager to allow sync credentials to be autofilled.
12const char kAllowAutofillSyncCredential[] =
13    "allow-autofill-sync-credential";
14
15// Disable the link in the password manager settings page that points to account
16// central.
17const char kDisableAndroidPasswordLink[] = "disable-android-password-link";
18
19// Disable dropping the credential used to sync passwords.
20const char kDisableDropSyncCredential[] =
21    "disable-drop-sync-credential";
22
23// Disable both saving and filling for the sync signin form.
24const char kDisableManagerForSyncSignin[] =
25    "disable-manager-for-sync-signin";
26
27// Disallow autofilling of the sync credential.
28const char kDisallowAutofillSyncCredential[] =
29    "disallow-autofill-sync-credential";
30
31// Disallow autofilling of the sync credential only for transactional reauth
32// pages.
33const char kDisallowAutofillSyncCredentialForReauth[] =
34    "disallow-autofill-sync-credential-for-reauth";
35
36// Enable the link in the password manager settings page that points to account
37// central.
38const char kEnableAndroidPasswordLink[] = "enable-android-password-link";
39
40// Enable dropping the credential used to sync passwords.
41const char kEnableDropSyncCredential[] =
42    "enable-drop-sync-credential";
43
44// Enable saving and filling for the sync signin form. Currently the default
45// behavior.
46const char kEnableManagerForSyncSignin[] =
47    "enable-manager-for-sync-signin";
48
49// Disables the save-password prompt. Passwords are then saved automatically,
50// without asking the user.
51const char kEnableAutomaticPasswordSaving[] =
52    "enable-automatic-password-saving";
53
54}  // namespace switches
55
56}  // namespace password_manager
57