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

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

Issue 2478043002: HTTP Bad: Add warning message to autofill dropdown for http sites (Closed)
Patch Set: nit change Created 4 years, 1 month 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; 10 class PrefService;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « components/autofill/core/browser/DEPS ('k') | components/autofill/core/browser/autofill_experiments.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698