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

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: fix broken test due to rebase 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
« no previous file with comments | « no previous file | chrome/browser/password_manager/chrome_password_manager_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 const autofill::PasswordForm& form) override; 104 const autofill::PasswordForm& form) override;
105 void GenerationAvailableForForm(const autofill::PasswordForm& form) override; 105 void GenerationAvailableForForm(const autofill::PasswordForm& form) override;
106 void HidePasswordGenerationPopup() override; 106 void HidePasswordGenerationPopup() override;
107 107
108 #if defined(SAFE_BROWSING_DB_LOCAL) 108 #if defined(SAFE_BROWSING_DB_LOCAL)
109 safe_browsing::PasswordProtectionService* GetPasswordProtectionService() 109 safe_browsing::PasswordProtectionService* GetPasswordProtectionService()
110 const override; 110 const override;
111 void CheckSafeBrowsingReputation(const GURL& form_action, 111 void CheckSafeBrowsingReputation(const GURL& form_action,
112 const GURL& frame_url) override; 112 const GURL& frame_url) override;
113 113
114 void CheckProtectedPasswordEntry( 114 void CheckProtectedPasswordEntry(const std::string& password_saved_domain,
115 const std::string& password_saved_domain) override; 115 bool password_field_exists) override;
116 #endif 116 #endif
117 117
118 static void CreateForWebContentsWithAutofillClient( 118 static void CreateForWebContentsWithAutofillClient(
119 content::WebContents* contents, 119 content::WebContents* contents,
120 autofill::AutofillClient* autofill_client); 120 autofill::AutofillClient* autofill_client);
121 121
122 // Observer for PasswordGenerationPopup events. Used for testing. 122 // Observer for PasswordGenerationPopup events. Used for testing.
123 void SetTestObserver(autofill::PasswordGenerationPopupObserver* observer); 123 void SetTestObserver(autofill::PasswordGenerationPopupObserver* observer);
124 124
125 static void BindCredentialManager( 125 static void BindCredentialManager(
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 std::unique_ptr<password_manager::LogManager> log_manager_; 212 std::unique_ptr<password_manager::LogManager> log_manager_;
213 213
214 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the 214 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the
215 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'. 215 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'.
216 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_; 216 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_;
217 217
218 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); 218 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient);
219 }; 219 };
220 220
221 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 221 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/password_manager/chrome_password_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698