summaryrefslogtreecommitdiff
path: root/chromium/components/autofill/core/browser/autofill_browser_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/autofill/core/browser/autofill_browser_util.h')
-rw-r--r--chromium/components/autofill/core/browser/autofill_browser_util.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/chromium/components/autofill/core/browser/autofill_browser_util.h b/chromium/components/autofill/core/browser/autofill_browser_util.h
index c03cbe8f5a1..e03b14408a3 100644
--- a/chromium/components/autofill/core/browser/autofill_browser_util.h
+++ b/chromium/components/autofill/core/browser/autofill_browser_util.h
@@ -14,15 +14,16 @@ namespace autofill {
class AutofillClient;
// Checks whether a given form is considered insecure (by origin or action).
-bool IsFormOrClientNonSecure(AutofillClient* client, const FormData& form);
+bool IsFormOrClientNonSecure(const AutofillClient* client,
+ const FormData& form);
// Checks whether a given form is considered mixed content. A form is mixed
// content if is displayed on a secure context, but submits to an insecure one.
-bool IsFormMixedContent(AutofillClient* client, const FormData& form);
+bool IsFormMixedContent(const AutofillClient* client, const FormData& form);
// Returns true if context provided by the client and the given form are
// considered "secure enough" to manually fill credit card data.
-bool ShouldAllowCreditCardFallbacks(AutofillClient* client,
+bool ShouldAllowCreditCardFallbacks(const AutofillClient* client,
const FormData& form);
} // namespace autofill