[Media Router] Add integration tests and e2e tests for media router and presentation...
[chromium-blink-merge.git] / components / autofill / core / browser / autofill_experiments.h
blob68088ec3278ff62432411df33b15af5952427275
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_
8 class PrefService;
10 namespace autofill {
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_