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

Side by Side Diff: components/autofill/core/browser/autofill_experiments.h

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 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 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;
11
12 namespace base { 10 namespace base {
13 struct Feature; 11 struct Feature;
14 } 12 }
15 13
16 namespace syncer { 14 namespace sync_driver {
17 class SyncService; 15 class SyncService;
18 } 16 }
19 17
18 class PrefService;
19
20 namespace autofill { 20 namespace autofill {
21 21
22 extern const base::Feature kAutofillCreditCardAssist; 22 extern const base::Feature kAutofillCreditCardAssist;
23 extern const base::Feature kAutofillCreditCardSigninPromo; 23 extern const base::Feature kAutofillCreditCardSigninPromo;
24 extern const base::Feature kAutofillProfileCleanup; 24 extern const base::Feature kAutofillProfileCleanup;
25 extern const base::Feature kAutofillScanCardholderName; 25 extern const base::Feature kAutofillScanCardholderName;
26 extern const char kCreditCardSigninPromoImpressionLimitParamKey[]; 26 extern const char kCreditCardSigninPromoImpressionLimitParamKey[];
27 27
28 // Returns true if autofill should be enabled. See also 28 // Returns true if autofill should be enabled. See also
29 // IsInAutofillSuggestionsDisabledExperiment below. 29 // IsInAutofillSuggestionsDisabledExperiment below.
(...skipping 20 matching lines...) Expand all
50 50
51 // Returns true if the user should be offered to locally store unmasked cards. 51 // Returns true if the user should be offered to locally store unmasked cards.
52 // This controls whether the option is presented at all rather than the default 52 // This controls whether the option is presented at all rather than the default
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 sync_driver::SyncService* sync_service,
61 const std::string& user_email); 61 const std::string& user_email);
62 62
63 } // namespace autofill 63 } // namespace autofill
64 64
65 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXPERIMENTS_H_ 65 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXPERIMENTS_H_
OLDNEW
« no previous file with comments | « components/autofill/core/browser/autofill_client.h ('k') | components/autofill/core/browser/autofill_experiments.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698