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

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

Issue 2878813002: Trigger protected password entry request on password reuse event. (Closed)
Patch Set: nit Created 3 years, 7 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 void ShowPasswordEditingPopup(const gfx::RectF& bounds, 103 void ShowPasswordEditingPopup(const gfx::RectF& bounds,
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
114 void CheckProtectedPasswordEntry(
115 const std::string& password_saved_domain) override;
113 #endif 116 #endif
114 117
115 static void CreateForWebContentsWithAutofillClient( 118 static void CreateForWebContentsWithAutofillClient(
116 content::WebContents* contents, 119 content::WebContents* contents,
117 autofill::AutofillClient* autofill_client); 120 autofill::AutofillClient* autofill_client);
118 121
119 // Observer for PasswordGenerationPopup events. Used for testing. 122 // Observer for PasswordGenerationPopup events. Used for testing.
120 void SetTestObserver(autofill::PasswordGenerationPopupObserver* observer); 123 void SetTestObserver(autofill::PasswordGenerationPopupObserver* observer);
121 124
122 static void BindCredentialManager( 125 static void BindCredentialManager(
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 std::unique_ptr<password_manager::LogManager> log_manager_; 212 std::unique_ptr<password_manager::LogManager> log_manager_;
210 213
211 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the 214 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the
212 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'. 215 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'.
213 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_; 216 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_;
214 217
215 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); 218 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient);
216 }; 219 };
217 220
218 #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