| 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_FACTORY_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI
VER_FACTORY_H_ |
| 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI
VER_FACTORY_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI
VER_FACTORY_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/supports_user_data.h" | 13 #include "base/supports_user_data.h" |
| 14 #include "components/autofill/content/common/autofill_driver.mojom.h" | 14 #include "components/autofill/content/common/autofill_driver.mojom.h" |
| 15 #include "components/password_manager/core/browser/password_autofill_manager.h" | 15 #include "components/password_manager/core/browser/password_autofill_manager.h" |
| 16 #include "components/password_manager/core/browser/password_generation_manager.h
" | 16 #include "components/password_manager/core/browser/password_generation_manager.h
" |
| 17 #include "components/password_manager/core/browser/password_manager.h" | 17 #include "components/password_manager/core/browser/password_manager.h" |
| 18 #include "components/password_manager/core/browser/password_manager_driver.h" | 18 #include "components/password_manager/core/browser/password_manager_driver.h" |
| 19 #include "content/public/browser/web_contents_observer.h" | 19 #include "content/public/browser/web_contents_observer.h" |
| 20 #include "third_party/WebKit/public/platform/modules/sensitive_input_visibility/
sensitive_input_visibility_service.mojom.h" | 20 #include "third_party/WebKit/public/platform/modules/sensitive_input_visibility/
sensitive_input_visibility_service.mojom.h" |
| 21 | 21 |
| 22 namespace autofill { | |
| 23 class AutofillManager; | |
| 24 struct PasswordForm; | |
| 25 } | |
| 26 | |
| 27 namespace content { | 22 namespace content { |
| 28 class WebContents; | 23 class WebContents; |
| 29 } | 24 } |
| 30 | 25 |
| 31 namespace password_manager { | 26 namespace password_manager { |
| 32 | 27 |
| 33 class ContentPasswordManagerDriver; | 28 class ContentPasswordManagerDriver; |
| 34 | 29 |
| 35 // Creates and owns ContentPasswordManagerDrivers. There is one | 30 // Creates and owns ContentPasswordManagerDrivers. There is one |
| 36 // factory per WebContents, and one driver per render frame. | 31 // factory per WebContents, and one driver per render frame. |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 75 |
| 81 PasswordManagerClient* password_client_; | 76 PasswordManagerClient* password_client_; |
| 82 autofill::AutofillClient* autofill_client_; | 77 autofill::AutofillClient* autofill_client_; |
| 83 | 78 |
| 84 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriverFactory); | 79 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriverFactory); |
| 85 }; | 80 }; |
| 86 | 81 |
| 87 } // namespace password_manager | 82 } // namespace password_manager |
| 88 | 83 |
| 89 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_
DRIVER_FACTORY_H_ | 84 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_
DRIVER_FACTORY_H_ |
| OLD | NEW |