blob: c86204e3b7c36aeaa56f0e6ff59c6102ec0c3332 [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_UI_COMMANDS_SECURITY_ALERT_COMMANDS_H_
#define IOS_CHROME_BROWSER_UI_COMMANDS_SECURITY_ALERT_COMMANDS_H_
@protocol SecurityAlertCommands <NSObject>
// Presents an alert with the passed body. And a title indicating something is
// not secure. Credit card numbers and passwords cannot be filled over HTTP, and
// passwords can only be filled in a password field; when a user attempts to
// autofill these a warning is displayed using the security alert presenter
- (void)presentSecurityWarningAlertWithText:(NSString*)body;
// Request the presenter to inform the user that a password must be set to use
// the feature.
- (void)showSetPasscodeDialog;
@end
#endif // IOS_CHROME_BROWSER_UI_COMMANDS_SECURITY_ALERT_COMMANDS_H_