| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |