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
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXPERIMENTS_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXPERIMENTS_H_
12 // Returns true if autofill should be enabled. This takes into account the
13 // current user prefs as well as experiments.
14 bool IsAutofillEnabled(const PrefService
* pref_service
);
16 // Returns true if the user should be offered to locally store unmasked cards.
17 // This controls whether the option is presented at all rather than the default
18 // response of the option.
19 bool OfferStoreUnmaskedCards();
21 } // namespace autofill
23 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXPERIMENTS_H_