OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/renderer/autofill/password_autofill_manager.h" | 5 #include "components/autofill/renderer/password_autofill_manager.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "chrome/renderer/autofill/form_autofill_util.h" | |
11 #include "components/autofill/common/autofill_messages.h" | 10 #include "components/autofill/common/autofill_messages.h" |
12 #include "components/autofill/common/form_field_data.h" | 11 #include "components/autofill/common/form_field_data.h" |
13 #include "components/autofill/common/password_form_fill_data.h" | 12 #include "components/autofill/common/password_form_fill_data.h" |
| 13 #include "components/autofill/renderer/form_autofill_util.h" |
14 #include "content/public/common/password_form.h" | 14 #include "content/public/common/password_form.h" |
15 #include "content/public/renderer/password_form_conversion_utils.h" | 15 #include "content/public/renderer/password_form_conversion_utils.h" |
16 #include "content/public/renderer/render_view.h" | 16 #include "content/public/renderer/render_view.h" |
17 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" | 17 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" |
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAutofillClient.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAutofillClient.h" |
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" |
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h" |
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
640 LoginToPasswordInfoMap::iterator iter = login_to_password_info_.find(input); | 640 LoginToPasswordInfoMap::iterator iter = login_to_password_info_.find(input); |
641 if (iter == login_to_password_info_.end()) | 641 if (iter == login_to_password_info_.end()) |
642 return false; | 642 return false; |
643 | 643 |
644 *found_input = input; | 644 *found_input = input; |
645 *found_password = iter->second; | 645 *found_password = iter->second; |
646 return true; | 646 return true; |
647 } | 647 } |
648 | 648 |
649 } // namespace autofill | 649 } // namespace autofill |
OLD | NEW |