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

Side by Side Diff: chrome/browser/password_manager/chrome_password_manager_client.h

Issue 2929533002: Fill has_password_field for password reuse ping (Closed)
Patch Set: Created 3 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 const autofill::PasswordForm& form) override; 105 const autofill::PasswordForm& form) override;
106 void GenerationAvailableForForm(const autofill::PasswordForm& form) override; 106 void GenerationAvailableForForm(const autofill::PasswordForm& form) override;
107 void HidePasswordGenerationPopup() override; 107 void HidePasswordGenerationPopup() override;
108 108
109 #if defined(SAFE_BROWSING_DB_LOCAL) 109 #if defined(SAFE_BROWSING_DB_LOCAL)
110 safe_browsing::PasswordProtectionService* GetPasswordProtectionService() 110 safe_browsing::PasswordProtectionService* GetPasswordProtectionService()
111 const override; 111 const override;
112 void CheckSafeBrowsingReputation(const GURL& form_action, 112 void CheckSafeBrowsingReputation(const GURL& form_action,
113 const GURL& frame_url) override; 113 const GURL& frame_url) override;
114 114
115 void CheckProtectedPasswordEntry( 115 void CheckProtectedPasswordEntry(const std::string& password_saved_domain,
116 const std::string& password_saved_domain) override; 116 bool has_password_field) override;
117 #endif 117 #endif
118 118
119 static void CreateForWebContentsWithAutofillClient( 119 static void CreateForWebContentsWithAutofillClient(
120 content::WebContents* contents, 120 content::WebContents* contents,
121 autofill::AutofillClient* autofill_client); 121 autofill::AutofillClient* autofill_client);
122 122
123 // Observer for PasswordGenerationPopup events. Used for testing. 123 // Observer for PasswordGenerationPopup events. Used for testing.
124 void SetTestObserver(autofill::PasswordGenerationPopupObserver* observer); 124 void SetTestObserver(autofill::PasswordGenerationPopupObserver* observer);
125 125
126 static void BindCredentialManager( 126 static void BindCredentialManager(
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 std::unique_ptr<password_manager::LogManager> log_manager_; 213 std::unique_ptr<password_manager::LogManager> log_manager_;
214 214
215 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the 215 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the
216 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'. 216 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'.
217 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_; 217 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_;
218 218
219 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); 219 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient);
220 }; 220 };
221 221
222 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 222 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698