| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_CREDENTIAL_MANAGER_PASSWORD_FOR
M_MANAGER_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_CREDENTIAL_MANAGER_PASSWORD_FOR
M_MANAGER_H_ |
| 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_CREDENTIAL_MANAGER_PASSWORD_FOR
M_MANAGER_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_CREDENTIAL_MANAGER_PASSWORD_FOR
M_MANAGER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "components/password_manager/core/browser/password_form_manager.h" | 10 #include "components/password_manager/core/browser/password_form_manager.h" |
| 11 | 11 |
| 12 namespace autofill { | 12 namespace autofill { |
| 13 struct PasswordForm; | 13 struct PasswordForm; |
| 14 } | 14 } |
| 15 | 15 |
| 16 namespace password_manager { | 16 namespace password_manager { |
| 17 | 17 |
| 18 class CredentialManagerDispatcher; | |
| 19 class PasswordManagerClient; | 18 class PasswordManagerClient; |
| 20 class PasswordManagerDriver; | 19 class PasswordManagerDriver; |
| 21 | 20 |
| 22 // A delegate that is notified when CredentialManagerPasswordFormManager | 21 // A delegate that is notified when CredentialManagerPasswordFormManager |
| 23 // finishes working with password forms. | 22 // finishes working with password forms. |
| 24 class CredentialManagerPasswordFormManagerDelegate { | 23 class CredentialManagerPasswordFormManagerDelegate { |
| 25 public: | 24 public: |
| 26 // Called when a password form has been provisionally saved. | 25 // Called when a password form has been provisionally saved. |
| 27 virtual void OnProvisionalSaveComplete() = 0; | 26 virtual void OnProvisionalSaveComplete() = 0; |
| 28 }; | 27 }; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 51 private: | 50 private: |
| 52 CredentialManagerPasswordFormManagerDelegate* delegate_; | 51 CredentialManagerPasswordFormManagerDelegate* delegate_; |
| 53 std::unique_ptr<autofill::PasswordForm> saved_form_; | 52 std::unique_ptr<autofill::PasswordForm> saved_form_; |
| 54 | 53 |
| 55 DISALLOW_COPY_AND_ASSIGN(CredentialManagerPasswordFormManager); | 54 DISALLOW_COPY_AND_ASSIGN(CredentialManagerPasswordFormManager); |
| 56 }; | 55 }; |
| 57 | 56 |
| 58 } // namespace password_manager | 57 } // namespace password_manager |
| 59 | 58 |
| 60 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_CREDENTIAL_MANAGER_PASSWORD_
FORM_MANAGER_H_ | 59 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_CREDENTIAL_MANAGER_PASSWORD_
FORM_MANAGER_H_ |
| OLD | NEW |