| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ |
| 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ | 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #include "mojo/public/cpp/bindings/binding.h" | 23 #include "mojo/public/cpp/bindings/binding.h" |
| 24 #include "third_party/WebKit/public/web/WebInputElement.h" | 24 #include "third_party/WebKit/public/web/WebInputElement.h" |
| 25 | 25 |
| 26 namespace blink { | 26 namespace blink { |
| 27 class WebInputElement; | 27 class WebInputElement; |
| 28 class WebSecurityOrigin; | 28 class WebSecurityOrigin; |
| 29 } | 29 } |
| 30 | 30 |
| 31 namespace autofill { | 31 namespace autofill { |
| 32 | 32 |
| 33 // Names of HTML attributes to show form and field signatures for debugging. |
| 34 const char kDebugAttributeForFormSignature[] = "form_signature"; |
| 35 const char kDebugAttributeForFieldSignature[] = "field_signature"; |
| 36 |
| 33 class RendererSavePasswordProgressLogger; | 37 class RendererSavePasswordProgressLogger; |
| 34 | 38 |
| 35 // This class is responsible for filling password forms. | 39 // This class is responsible for filling password forms. |
| 36 class PasswordAutofillAgent : public content::RenderFrameObserver, | 40 class PasswordAutofillAgent : public content::RenderFrameObserver, |
| 37 public mojom::PasswordAutofillAgent { | 41 public mojom::PasswordAutofillAgent { |
| 38 public: | 42 public: |
| 39 explicit PasswordAutofillAgent(content::RenderFrame* render_frame); | 43 explicit PasswordAutofillAgent(content::RenderFrame* render_frame); |
| 40 ~PasswordAutofillAgent() override; | 44 ~PasswordAutofillAgent() override; |
| 41 | 45 |
| 42 void BindRequest(mojom::PasswordAutofillAgentRequest request); | 46 void BindRequest(mojom::PasswordAutofillAgentRequest request); |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 mojom::PasswordManagerDriverPtr password_manager_driver_; | 292 mojom::PasswordManagerDriverPtr password_manager_driver_; |
| 289 | 293 |
| 290 mojo::Binding<mojom::PasswordAutofillAgent> binding_; | 294 mojo::Binding<mojom::PasswordAutofillAgent> binding_; |
| 291 | 295 |
| 292 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent); | 296 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent); |
| 293 }; | 297 }; |
| 294 | 298 |
| 295 } // namespace autofill | 299 } // namespace autofill |
| 296 | 300 |
| 297 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ | 301 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ |
| OLD | NEW |