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/autofill_agent.h" | 5 #include "components/autofill/content/renderer/autofill_agent.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
11 #include "base/strings/string_split.h" | 11 #include "base/strings/string_split.h" |
| 12 #include "base/strings/utf_string_conversions.h" |
12 #include "base/time.h" | 13 #include "base/time.h" |
13 #include "base/utf_string_conversions.h" | |
14 #include "components/autofill/common/autocheckout_status.h" | 14 #include "components/autofill/common/autocheckout_status.h" |
15 #include "components/autofill/common/autofill_constants.h" | 15 #include "components/autofill/common/autofill_constants.h" |
16 #include "components/autofill/common/autofill_messages.h" | 16 #include "components/autofill/common/autofill_messages.h" |
17 #include "components/autofill/common/autofill_switches.h" | 17 #include "components/autofill/common/autofill_switches.h" |
18 #include "components/autofill/common/form_data.h" | 18 #include "components/autofill/common/form_data.h" |
19 #include "components/autofill/common/form_data_predictions.h" | 19 #include "components/autofill/common/form_data_predictions.h" |
20 #include "components/autofill/common/form_field_data.h" | 20 #include "components/autofill/common/form_field_data.h" |
21 #include "components/autofill/common/web_element_descriptor.h" | 21 #include "components/autofill/common/web_element_descriptor.h" |
22 #include "components/autofill/content/renderer/form_autofill_util.h" | 22 #include "components/autofill/content/renderer/form_autofill_util.h" |
23 #include "components/autofill/content/renderer/page_click_tracker.h" | 23 #include "components/autofill/content/renderer/page_click_tracker.h" |
(...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
975 if (!forms.empty()) { | 975 if (!forms.empty()) { |
976 if (click_timer_.IsRunning()) | 976 if (click_timer_.IsRunning()) |
977 click_timer_.Stop(); | 977 click_timer_.Stop(); |
978 Send(new AutofillHostMsg_FormsSeen(routing_id(), forms, | 978 Send(new AutofillHostMsg_FormsSeen(routing_id(), forms, |
979 forms_seen_timestamp_, | 979 forms_seen_timestamp_, |
980 state)); | 980 state)); |
981 } | 981 } |
982 } | 982 } |
983 | 983 |
984 } // namespace autofill | 984 } // namespace autofill |
OLD | NEW |