| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXPERIMENTS_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXPERIMENTS_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXPERIMENTS_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXPERIMENTS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 class PrefService; | 10 class PrefService; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 // response of the option. | 53 // response of the option. |
| 54 bool OfferStoreUnmaskedCards(); | 54 bool OfferStoreUnmaskedCards(); |
| 55 | 55 |
| 56 // Returns true if uploading credit cards to Wallet servers is enabled. This | 56 // Returns true if uploading credit cards to Wallet servers is enabled. This |
| 57 // requires the appropriate flags and user settings to be true and the user to | 57 // requires the appropriate flags and user settings to be true and the user to |
| 58 // be a member of a supported domain. | 58 // be a member of a supported domain. |
| 59 bool IsCreditCardUploadEnabled(const PrefService* pref_service, | 59 bool IsCreditCardUploadEnabled(const PrefService* pref_service, |
| 60 const syncer::SyncService* sync_service, | 60 const syncer::SyncService* sync_service, |
| 61 const std::string& user_email); | 61 const std::string& user_email); |
| 62 | 62 |
| 63 // Returns true if the http warning switch is on, which will display a warning |
| 64 // in the autofill dropdown when credit card fields are on an HTTP page. |
| 65 bool IsCreditCardAutofillHttpWarningEnabled(); |
| 66 |
| 63 } // namespace autofill | 67 } // namespace autofill |
| 64 | 68 |
| 65 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXPERIMENTS_H_ | 69 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXPERIMENTS_H_ |
| OLD | NEW |