| 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 COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI
VER_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI
VER_H_ |
| 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI
VER_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI
VER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "components/password_manager/core/browser/password_autofill_manager.h" | 10 #include "components/password_manager/core/browser/password_autofill_manager.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 static ContentPasswordManagerDriver* GetForRenderFrameHost( | 43 static ContentPasswordManagerDriver* GetForRenderFrameHost( |
| 44 content::RenderFrameHost* render_frame_host); | 44 content::RenderFrameHost* render_frame_host); |
| 45 | 45 |
| 46 // PasswordManagerDriver implementation. | 46 // PasswordManagerDriver implementation. |
| 47 void FillPasswordForm( | 47 void FillPasswordForm( |
| 48 const autofill::PasswordFormFillData& form_data) override; | 48 const autofill::PasswordFormFillData& form_data) override; |
| 49 void AllowPasswordGenerationForForm( | 49 void AllowPasswordGenerationForForm( |
| 50 const autofill::PasswordForm& form) override; | 50 const autofill::PasswordForm& form) override; |
| 51 void AccountCreationFormsFound( | 51 void AccountCreationFormsFound( |
| 52 const std::vector<autofill::FormData>& forms) override; | 52 const std::vector<autofill::FormData>& forms) override; |
| 53 void GeneratedPasswordAccepted(const base::string16& password) override; |
| 53 void FillSuggestion(const base::string16& username, | 54 void FillSuggestion(const base::string16& username, |
| 54 const base::string16& password) override; | 55 const base::string16& password) override; |
| 55 void PreviewSuggestion(const base::string16& username, | 56 void PreviewSuggestion(const base::string16& username, |
| 56 const base::string16& password) override; | 57 const base::string16& password) override; |
| 57 void ClearPreviewedForm() override; | 58 void ClearPreviewedForm() override; |
| 58 | 59 |
| 59 PasswordGenerationManager* GetPasswordGenerationManager() override; | 60 PasswordGenerationManager* GetPasswordGenerationManager() override; |
| 60 PasswordManager* GetPasswordManager() override; | 61 PasswordManager* GetPasswordManager() override; |
| 61 PasswordAutofillManager* GetPasswordAutofillManager() override; | 62 PasswordAutofillManager* GetPasswordAutofillManager() override; |
| 62 | 63 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 82 // the latter two classes can reference to the same instance without sending | 83 // the latter two classes can reference to the same instance without sending |
| 83 // it to each other over IPC. The counter below is used to generate new IDs. | 84 // it to each other over IPC. The counter below is used to generate new IDs. |
| 84 int next_free_key_; | 85 int next_free_key_; |
| 85 | 86 |
| 86 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver); | 87 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver); |
| 87 }; | 88 }; |
| 88 | 89 |
| 89 } // namespace password_manager | 90 } // namespace password_manager |
| 90 | 91 |
| 91 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_
DRIVER_H_ | 92 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_
DRIVER_H_ |
| OLD | NEW |