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 "components/autofill/browser/autofill_manager.h" | 5 #include "components/autofill/browser/autofill_manager.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <limits> | 9 #include <limits> |
10 #include <map> | 10 #include <map> |
11 #include <set> | 11 #include <set> |
12 #include <utility> | 12 #include <utility> |
13 | 13 |
14 #include "base/bind.h" | 14 #include "base/bind.h" |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/guid.h" | 16 #include "base/guid.h" |
17 #include "base/logging.h" | 17 #include "base/logging.h" |
18 #include "base/prefs/pref_service.h" | 18 #include "base/prefs/pref_service.h" |
19 #include "base/string16.h" | 19 #include "base/string16.h" |
20 #include "base/string_util.h" | 20 #include "base/string_util.h" |
| 21 #include "base/strings/utf_string_conversions.h" |
21 #include "base/threading/sequenced_worker_pool.h" | 22 #include "base/threading/sequenced_worker_pool.h" |
22 #include "base/utf_string_conversions.h" | |
23 #include "components/autofill/browser/autocheckout/whitelist_manager.h" | 23 #include "components/autofill/browser/autocheckout/whitelist_manager.h" |
24 #include "components/autofill/browser/autocheckout_manager.h" | 24 #include "components/autofill/browser/autocheckout_manager.h" |
25 #include "components/autofill/browser/autocomplete_history_manager.h" | 25 #include "components/autofill/browser/autocomplete_history_manager.h" |
26 #include "components/autofill/browser/autofill_data_model.h" | 26 #include "components/autofill/browser/autofill_data_model.h" |
27 #include "components/autofill/browser/autofill_external_delegate.h" | 27 #include "components/autofill/browser/autofill_external_delegate.h" |
28 #include "components/autofill/browser/autofill_field.h" | 28 #include "components/autofill/browser/autofill_field.h" |
29 #include "components/autofill/browser/autofill_manager_delegate.h" | 29 #include "components/autofill/browser/autofill_manager_delegate.h" |
30 #include "components/autofill/browser/autofill_manager_test_delegate.h" | 30 #include "components/autofill/browser/autofill_manager_test_delegate.h" |
31 #include "components/autofill/browser/autofill_metrics.h" | 31 #include "components/autofill/browser/autofill_metrics.h" |
32 #include "components/autofill/browser/autofill_profile.h" | 32 #include "components/autofill/browser/autofill_profile.h" |
(...skipping 1283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1316 | 1316 |
1317 void AutofillManager::UpdateInitialInteractionTimestamp( | 1317 void AutofillManager::UpdateInitialInteractionTimestamp( |
1318 const TimeTicks& interaction_timestamp) { | 1318 const TimeTicks& interaction_timestamp) { |
1319 if (initial_interaction_timestamp_.is_null() || | 1319 if (initial_interaction_timestamp_.is_null() || |
1320 interaction_timestamp < initial_interaction_timestamp_) { | 1320 interaction_timestamp < initial_interaction_timestamp_) { |
1321 initial_interaction_timestamp_ = interaction_timestamp; | 1321 initial_interaction_timestamp_ = interaction_timestamp; |
1322 } | 1322 } |
1323 } | 1323 } |
1324 | 1324 |
1325 } // namespace autofill | 1325 } // namespace autofill |
OLD | NEW |