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 #include "components/autofill/content/renderer/password_autofill_agent.h" | 5 #include "components/autofill/content/renderer/password_autofill_agent.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
11 #include <utility> | 11 #include <utility> |
12 | 12 |
13 #include "base/bind.h" | 13 #include "base/bind.h" |
14 #include "base/i18n/case_conversion.h" | 14 #include "base/i18n/case_conversion.h" |
15 #include "base/memory/linked_ptr.h" | 15 #include "base/memory/linked_ptr.h" |
16 #include "base/memory/ptr_util.h" | 16 #include "base/memory/ptr_util.h" |
17 #include "base/memory/scoped_vector.h" | 17 #include "base/memory/scoped_vector.h" |
18 #include "base/message_loop/message_loop.h" | 18 #include "base/message_loop/message_loop.h" |
19 #include "base/metrics/histogram_macros.h" | 19 #include "base/metrics/histogram_macros.h" |
20 #include "base/strings/string_util.h" | 20 #include "base/strings/string_util.h" |
21 #include "base/strings/utf_string_conversions.h" | 21 #include "base/strings/utf_string_conversions.h" |
| 22 #include "base/threading/thread_task_runner_handle.h" |
22 #include "build/build_config.h" | 23 #include "build/build_config.h" |
23 #include "components/autofill/content/renderer/form_autofill_util.h" | 24 #include "components/autofill/content/renderer/form_autofill_util.h" |
24 #include "components/autofill/content/renderer/password_form_conversion_utils.h" | 25 #include "components/autofill/content/renderer/password_form_conversion_utils.h" |
25 #include "components/autofill/content/renderer/renderer_save_password_progress_l
ogger.h" | 26 #include "components/autofill/content/renderer/renderer_save_password_progress_l
ogger.h" |
26 #include "components/autofill/core/common/autofill_constants.h" | 27 #include "components/autofill/core/common/autofill_constants.h" |
27 #include "components/autofill/core/common/autofill_util.h" | 28 #include "components/autofill/core/common/autofill_util.h" |
28 #include "components/autofill/core/common/form_field_data.h" | 29 #include "components/autofill/core/common/form_field_data.h" |
29 #include "components/autofill/core/common/password_form_fill_data.h" | 30 #include "components/autofill/core/common/password_form_fill_data.h" |
30 #include "content/public/renderer/document_state.h" | 31 #include "content/public/renderer/document_state.h" |
31 #include "content/public/renderer/navigation_state.h" | 32 #include "content/public/renderer/navigation_state.h" |
(...skipping 1456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1488 PasswordAutofillAgent::GetPasswordManagerDriver() { | 1489 PasswordAutofillAgent::GetPasswordManagerDriver() { |
1489 if (!password_manager_driver_) { | 1490 if (!password_manager_driver_) { |
1490 render_frame()->GetRemoteInterfaces()->GetInterface( | 1491 render_frame()->GetRemoteInterfaces()->GetInterface( |
1491 mojo::MakeRequest(&password_manager_driver_)); | 1492 mojo::MakeRequest(&password_manager_driver_)); |
1492 } | 1493 } |
1493 | 1494 |
1494 return password_manager_driver_; | 1495 return password_manager_driver_; |
1495 } | 1496 } |
1496 | 1497 |
1497 } // namespace autofill | 1498 } // namespace autofill |
OLD | NEW |