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

Unified Diff: ios/chrome/browser/ui/autofill/autofill_client_ios.h

Issue 2672623005: Record Autofill form events specially for nonsecure pages (Closed)
Patch Set: fix test added in rebase Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/ui/autofill/BUILD.gn ('k') | ios/chrome/browser/ui/autofill/autofill_client_ios.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/autofill/autofill_client_ios.h
diff --git a/ios/chrome/browser/ui/autofill/autofill_client_ios.h b/ios/chrome/browser/ui/autofill/autofill_client_ios.h
index ccfd8adccd2fc3bbb0a7014d73f3e52e966edf93..ce789c9fa4b52a3f512e28979f7fa517f55dda61 100644
--- a/ios/chrome/browser/ui/autofill/autofill_client_ios.h
+++ b/ios/chrome/browser/ui/autofill/autofill_client_ios.h
@@ -33,6 +33,10 @@ namespace syncer {
class SyncService;
}
+namespace web {
+class WebState;
+}
+
namespace autofill {
class PersonalDataManager;
@@ -42,6 +46,7 @@ class AutofillClientIOS : public AutofillClient {
public:
AutofillClientIOS(
ios::ChromeBrowserState* browser_state,
+ web::WebState* web_state,
infobars::InfoBarManager* infobar_manager,
id<AutofillClientIOSBridge> bridge,
password_manager::PasswordGenerationManager* password_generation_manager,
@@ -88,13 +93,14 @@ class AutofillClientIOS : public AutofillClient {
const base::string16& profile_full_name) override;
void OnFirstUserGestureObserved() override;
scoped_refptr<AutofillWebDataService> GetDatabase() override;
- bool IsContextSecure(const GURL& form_origin) override;
+ bool IsContextSecure() override;
bool ShouldShowSigninPromo() override;
void StartSigninFlow() override;
void ShowHttpNotSecureExplanation() override;
private:
ios::ChromeBrowserState* browser_state_;
+ web::WebState* web_state_;
infobars::InfoBarManager* infobar_manager_;
__weak id<AutofillClientIOSBridge> bridge_;
password_manager::PasswordGenerationManager* password_generation_manager_;
« no previous file with comments | « ios/chrome/browser/ui/autofill/BUILD.gn ('k') | ios/chrome/browser/ui/autofill/autofill_client_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698