Home | History | Annotate | Download | only in common
      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 
      7 namespace password_manager {
      8 
      9 namespace switches {
     10 
     11 // Force the password manager to allow sync credentials to be autofilled.
     12 const char kAllowAutofillSyncCredential[] =
     13     "allow-autofill-sync-credential";
     14 
     15 // Disable the link in the password manager settings page that points to account
     16 // central.
     17 const char kDisableAndroidPasswordLink[] = "disable-android-password-link";
     18 
     19 // Disable dropping the credential used to sync passwords.
     20 const char kDisableDropSyncCredential[] =
     21     "disable-drop-sync-credential";
     22 
     23 // Disable both saving and filling for the sync signin form.
     24 const char kDisableManagerForSyncSignin[] =
     25     "disable-manager-for-sync-signin";
     26 
     27 // Disallow autofilling of the sync credential.
     28 const char kDisallowAutofillSyncCredential[] =
     29     "disallow-autofill-sync-credential";
     30 
     31 // Disallow autofilling of the sync credential only for transactional reauth
     32 // pages.
     33 const 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.
     38 const char kEnableAndroidPasswordLink[] = "enable-android-password-link";
     39 
     40 // Enable dropping the credential used to sync passwords.
     41 const char kEnableDropSyncCredential[] =
     42     "enable-drop-sync-credential";
     43 
     44 // Enable saving and filling for the sync signin form. Currently the default
     45 // behavior.
     46 const 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.
     51 const char kEnableAutomaticPasswordSaving[] =
     52     "enable-automatic-password-saving";
     53 
     54 }  // namespace switches
     55 
     56 }  // namespace password_manager
     57