1// Copyright 2013 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/autofill/core/common/autofill_pref_names.h"
6
7namespace autofill {
8namespace prefs {
9
10// Boolean that is true when auxiliary Autofill profiles are enabled. This pref
11// is only relevant to Android.
12const char kAutofillAuxiliaryProfilesEnabled[] =
13    "autofill.auxiliary_profiles_enabled";
14
15// Boolean that is true if Autofill is enabled and allowed to save profile data.
16const char kAutofillEnabled[] = "autofill.enabled";
17
18// Boolean that is true when Chrome has attempted to access the user's Address
19// Book on Mac. This preference is important since the first time Chrome
20// attempts to access the user's Address Book, Cocoa presents a blocking dialog
21// to the user.
22const char kAutofillMacAddressBookQueried[] =
23    "autofill.auxiliary_profiles_queried";
24
25// The number of times that the access Address Book prompt has been shown. It
26// will only show for a fixed number of instances, and then it will stop
27// showing.
28const char kAutofillMacAddressBookShowedCount[] =
29    "autofill.mac_address_book_prompt_showed_count";
30
31// Double that indicates negative (for not matched forms) upload rate.
32const char kAutofillNegativeUploadRate[] = "autofill.negative_upload_rate";
33
34// Double that indicates positive (for matched forms) upload rate.
35const char kAutofillPositiveUploadRate[] = "autofill.positive_upload_rate";
36
37// Whether Autofill should try to use the Mac Address Book. If this value is
38// true, then kAutofillMacAddressBookQueried is expected to also be true.
39const char kAutofillUseMacAddressBook[] = "autofill.use_mac_address_book";
40
41}  // namespace prefs
42}  // namespace autofill
43