| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 const override; | 79 const override; |
| 80 PrefService* GetPrefs() override; | 80 PrefService* GetPrefs() override; |
| 81 password_manager::PasswordStore* GetPasswordStore() const override; | 81 password_manager::PasswordStore* GetPasswordStore() const override; |
| 82 password_manager::PasswordSyncState GetPasswordSyncState() const override; | 82 password_manager::PasswordSyncState GetPasswordSyncState() const override; |
| 83 bool WasLastNavigationHTTPError() const override; | 83 bool WasLastNavigationHTTPError() const override; |
| 84 bool DidLastPageLoadEncounterSSLErrors() const override; | 84 bool DidLastPageLoadEncounterSSLErrors() const override; |
| 85 bool IsOffTheRecord() const override; | 85 bool IsOffTheRecord() const override; |
| 86 const password_manager::PasswordManager* GetPasswordManager() const override; | 86 const password_manager::PasswordManager* GetPasswordManager() const override; |
| 87 autofill::AutofillManager* GetAutofillManagerForMainFrame() override; | 87 autofill::AutofillManager* GetAutofillManagerForMainFrame() override; |
| 88 const GURL& GetMainFrameURL() const override; | 88 const GURL& GetMainFrameURL() const override; |
| 89 bool IsMainFrameSecure() const override; |
| 89 const GURL& GetLastCommittedEntryURL() const override; | 90 const GURL& GetLastCommittedEntryURL() const override; |
| 90 void AnnotateNavigationEntry(bool has_password_field) override; | 91 void AnnotateNavigationEntry(bool has_password_field) override; |
| 91 const password_manager::CredentialsFilter* GetStoreResultFilter() | 92 const password_manager::CredentialsFilter* GetStoreResultFilter() |
| 92 const override; | 93 const override; |
| 93 const password_manager::LogManager* GetLogManager() const override; | 94 const password_manager::LogManager* GetLogManager() const override; |
| 94 | 95 |
| 95 // autofill::mojom::PasswordManagerClient overrides. | 96 // autofill::mojom::PasswordManagerClient overrides. |
| 96 void ShowPasswordGenerationPopup(const gfx::RectF& bounds, | 97 void ShowPasswordGenerationPopup(const gfx::RectF& bounds, |
| 97 int max_length, | 98 int max_length, |
| 98 const base::string16& generation_element, | 99 const base::string16& generation_element, |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 std::unique_ptr<password_manager::LogManager> log_manager_; | 191 std::unique_ptr<password_manager::LogManager> log_manager_; |
| 191 | 192 |
| 192 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the | 193 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the |
| 193 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'. | 194 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'. |
| 194 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_; | 195 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_; |
| 195 | 196 |
| 196 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); | 197 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); |
| 197 }; | 198 }; |
| 198 | 199 |
| 199 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ | 200 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ |
| OLD | NEW |