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/browser/autofill/autofill_manager.h" | 5 #include "chrome/browser/autofill/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/string16.h" | 18 #include "base/string16.h" |
19 #include "base/string_util.h" | 19 #include "base/string_util.h" |
20 #include "base/threading/sequenced_worker_pool.h" | 20 #include "base/threading/sequenced_worker_pool.h" |
21 #include "base/utf_string_conversions.h" | 21 #include "base/utf_string_conversions.h" |
22 #include "chrome/browser/autocomplete_history_manager.h" | 22 #include "chrome/browser/autofill/autocomplete_history_manager.h" |
23 #include "chrome/browser/autofill/autofill_cc_infobar_delegate.h" | 23 #include "chrome/browser/autofill/autofill_cc_infobar_delegate.h" |
24 #include "chrome/browser/autofill/autofill_external_delegate.h" | 24 #include "chrome/browser/autofill/autofill_external_delegate.h" |
25 #include "chrome/browser/autofill/autofill_feedback_infobar_delegate.h" | 25 #include "chrome/browser/autofill/autofill_feedback_infobar_delegate.h" |
26 #include "chrome/browser/autofill/autofill_field.h" | 26 #include "chrome/browser/autofill/autofill_field.h" |
27 #include "chrome/browser/autofill/autofill_metrics.h" | 27 #include "chrome/browser/autofill/autofill_metrics.h" |
28 #include "chrome/browser/autofill/autofill_profile.h" | 28 #include "chrome/browser/autofill/autofill_profile.h" |
29 #include "chrome/browser/autofill/autofill_type.h" | 29 #include "chrome/browser/autofill/autofill_type.h" |
30 #include "chrome/browser/autofill/credit_card.h" | 30 #include "chrome/browser/autofill/credit_card.h" |
31 #include "chrome/browser/autofill/form_structure.h" | 31 #include "chrome/browser/autofill/form_structure.h" |
32 #include "chrome/browser/autofill/password_generator.h" | 32 #include "chrome/browser/autofill/password_generator.h" |
(...skipping 1378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1411 *profile_guid = IDToGUID(profile_id); | 1411 *profile_guid = IDToGUID(profile_id); |
1412 } | 1412 } |
1413 | 1413 |
1414 void AutofillManager::UpdateInitialInteractionTimestamp( | 1414 void AutofillManager::UpdateInitialInteractionTimestamp( |
1415 const TimeTicks& interaction_timestamp) { | 1415 const TimeTicks& interaction_timestamp) { |
1416 if (initial_interaction_timestamp_.is_null() || | 1416 if (initial_interaction_timestamp_.is_null() || |
1417 interaction_timestamp < initial_interaction_timestamp_) { | 1417 interaction_timestamp < initial_interaction_timestamp_) { |
1418 initial_interaction_timestamp_ = interaction_timestamp; | 1418 initial_interaction_timestamp_ = interaction_timestamp; |
1419 } | 1419 } |
1420 } | 1420 } |
OLD | NEW |