Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: components/autofill/core/common/autofill_switches.cc

Issue 2200333002: Remove flags for controlling credit card scanner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove autofill_switches.h include Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "components/autofill/core/common/autofill_switches.h" 6 #include "components/autofill/core/common/autofill_switches.h"
7 7
8 namespace autofill { 8 namespace autofill {
9 namespace switches { 9 namespace switches {
10 10
11 // Disables using device's camera to scan a new credit card when filling out a
12 // credit card form.
13 const char kDisableCreditCardScan[] = "disable-credit-card-scan";
14
15 // Force hiding the local save checkbox in the autofill dialog box for getting 11 // Force hiding the local save checkbox in the autofill dialog box for getting
16 // the full credit card number for a wallet card. The card will never be stored 12 // the full credit card number for a wallet card. The card will never be stored
17 // locally. 13 // locally.
18 const char kDisableOfferStoreUnmaskedWalletCards[] = 14 const char kDisableOfferStoreUnmaskedWalletCards[] =
19 "disable-offer-store-unmasked-wallet-cards"; 15 "disable-offer-store-unmasked-wallet-cards";
20 16
21 // Disables offering to upload credit cards. 17 // Disables offering to upload credit cards.
22 const char kDisableOfferUploadCreditCards[] = 18 const char kDisableOfferUploadCreditCards[] =
23 "disable-offer-upload-credit-cards"; 19 "disable-offer-upload-credit-cards";
24 20
25 // Disables password generation when we detect that the user is going through 21 // Disables password generation when we detect that the user is going through
26 // account creation. 22 // account creation.
27 const char kDisablePasswordGeneration[] = "disable-password-generation"; 23 const char kDisablePasswordGeneration[] = "disable-password-generation";
28 24
29 // The "disable" flag for kEnableSingleClickAutofill. 25 // The "disable" flag for kEnableSingleClickAutofill.
30 const char kDisableSingleClickAutofill[] = "disable-single-click-autofill"; 26 const char kDisableSingleClickAutofill[] = "disable-single-click-autofill";
31 27
32 // Enables using device's camera to scan a new credit card when filling out a
33 // credit card form.
34 const char kEnableCreditCardScan[] = "enable-credit-card-scan";
35
36 // Force showing the local save checkbox in the autofill dialog box for getting 28 // Force showing the local save checkbox in the autofill dialog box for getting
37 // the full credit card number for a wallet card. 29 // the full credit card number for a wallet card.
38 const char kEnableOfferStoreUnmaskedWalletCards[] = 30 const char kEnableOfferStoreUnmaskedWalletCards[] =
39 "enable-offer-store-unmasked-wallet-cards"; 31 "enable-offer-store-unmasked-wallet-cards";
40 32
41 // Enables offering to upload credit cards. 33 // Enables offering to upload credit cards.
42 const char kEnableOfferUploadCreditCards[] = "enable-offer-upload-credit-cards"; 34 const char kEnableOfferUploadCreditCards[] = "enable-offer-upload-credit-cards";
43 35
44 // Enables password generation when we detect that the user is going through 36 // Enables password generation when we detect that the user is going through
45 // account creation. 37 // account creation.
(...skipping 26 matching lines...) Expand all
72 const char kDisableAccessorySuggestionView[] = 64 const char kDisableAccessorySuggestionView[] =
73 "disable-autofill-keyboard-accessory-view"; 65 "disable-autofill-keyboard-accessory-view";
74 66
75 // Enables showing suggestions in a keyboard accessory view. 67 // Enables showing suggestions in a keyboard accessory view.
76 const char kEnableAccessorySuggestionView[] = 68 const char kEnableAccessorySuggestionView[] =
77 "enable-autofill-keyboard-accessory-view"; 69 "enable-autofill-keyboard-accessory-view";
78 #endif // defined(OS_ANDROID) 70 #endif // defined(OS_ANDROID)
79 71
80 } // namespace switches 72 } // namespace switches
81 } // namespace autofill 73 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698