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

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

Issue 2833193002: Trigger Password Protection ping on username/password field on focus (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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 bool is_manually_triggered, 100 bool is_manually_triggered,
101 const autofill::PasswordForm& form) override; 101 const autofill::PasswordForm& form) override;
102 void ShowPasswordEditingPopup(const gfx::RectF& bounds, 102 void ShowPasswordEditingPopup(const gfx::RectF& bounds,
103 const autofill::PasswordForm& form) override; 103 const autofill::PasswordForm& form) override;
104 void GenerationAvailableForForm(const autofill::PasswordForm& form) override; 104 void GenerationAvailableForForm(const autofill::PasswordForm& form) override;
105 void HidePasswordGenerationPopup() override; 105 void HidePasswordGenerationPopup() override;
106 106
107 #if defined(SAFE_BROWSING_DB_LOCAL) 107 #if defined(SAFE_BROWSING_DB_LOCAL)
108 safe_browsing::PasswordProtectionService* GetPasswordProtectionService() 108 safe_browsing::PasswordProtectionService* GetPasswordProtectionService()
109 const override; 109 const override;
110 void CheckSafeBrowsingReputation(const GURL& form_action,
111 const GURL& frame_url) override;
110 #endif 112 #endif
111 113
112 static void CreateForWebContentsWithAutofillClient( 114 static void CreateForWebContentsWithAutofillClient(
113 content::WebContents* contents, 115 content::WebContents* contents,
114 autofill::AutofillClient* autofill_client); 116 autofill::AutofillClient* autofill_client);
115 117
116 // Observer for PasswordGenerationPopup events. Used for testing. 118 // Observer for PasswordGenerationPopup events. Used for testing.
117 void SetTestObserver(autofill::PasswordGenerationPopupObserver* observer); 119 void SetTestObserver(autofill::PasswordGenerationPopupObserver* observer);
118 120
119 static void BindCredentialManager( 121 static void BindCredentialManager(
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 std::unique_ptr<password_manager::LogManager> log_manager_; 207 std::unique_ptr<password_manager::LogManager> log_manager_;
206 208
207 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the 209 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the
208 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'. 210 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'.
209 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_; 211 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_;
210 212
211 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); 213 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient);
212 }; 214 };
213 215
214 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 216 #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