| 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 <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 void SaveGenerationFieldDetectedByClassifier( | 115 void SaveGenerationFieldDetectedByClassifier( |
| 116 const autofill::PasswordForm& password_form, | 116 const autofill::PasswordForm& password_form, |
| 117 const base::string16& generation_field) override; | 117 const base::string16& generation_field) override; |
| 118 | 118 |
| 119 void OnPasswordFormsParsedNoRenderCheck( | 119 void OnPasswordFormsParsedNoRenderCheck( |
| 120 const std::vector<autofill::PasswordForm>& forms); | 120 const std::vector<autofill::PasswordForm>& forms); |
| 121 void OnFocusedPasswordFormFound(const autofill::PasswordForm& password_form); | 121 void OnFocusedPasswordFormFound(const autofill::PasswordForm& password_form); |
| 122 | 122 |
| 123 // blink::mojom::SensitiveInputVisibility: | 123 // blink::mojom::SensitiveInputVisibility: |
| 124 void PasswordFieldVisibleInInsecureContext() override; | 124 void PasswordFieldVisibleInInsecureContext() override; |
| 125 void AllPasswordFieldsInInsecureContextInvisible() override; |
| 125 | 126 |
| 126 private: | 127 private: |
| 127 bool CheckChildProcessSecurityPolicy(const GURL& url, | 128 bool CheckChildProcessSecurityPolicy(const GURL& url, |
| 128 BadMessageReason reason); | 129 BadMessageReason reason); |
| 129 | 130 |
| 130 const autofill::mojom::AutofillAgentPtr& GetAutofillAgent(); | 131 const autofill::mojom::AutofillAgentPtr& GetAutofillAgent(); |
| 131 | 132 |
| 132 const autofill::mojom::PasswordAutofillAgentPtr& GetPasswordAutofillAgent(); | 133 const autofill::mojom::PasswordAutofillAgentPtr& GetPasswordAutofillAgent(); |
| 133 | 134 |
| 134 const autofill::mojom::PasswordGenerationAgentPtr& | 135 const autofill::mojom::PasswordGenerationAgentPtr& |
| (...skipping 20 matching lines...) Expand all Loading... |
| 155 sensitive_input_visibility_bindings_; | 156 sensitive_input_visibility_bindings_; |
| 156 | 157 |
| 157 base::WeakPtrFactory<ContentPasswordManagerDriver> weak_factory_; | 158 base::WeakPtrFactory<ContentPasswordManagerDriver> weak_factory_; |
| 158 | 159 |
| 159 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver); | 160 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver); |
| 160 }; | 161 }; |
| 161 | 162 |
| 162 } // namespace password_manager | 163 } // namespace password_manager |
| 163 | 164 |
| 164 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_
DRIVER_H_ | 165 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_
DRIVER_H_ |
| OLD | NEW |