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> |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 #include "components/autofill/common/form_field_data.h" | 44 #include "components/autofill/common/form_field_data.h" |
45 #include "components/autofill/common/password_form_fill_data.h" | 45 #include "components/autofill/common/password_form_fill_data.h" |
46 #include "components/user_prefs/pref_registry_syncable.h" | 46 #include "components/user_prefs/pref_registry_syncable.h" |
47 #include "content/public/browser/browser_context.h" | 47 #include "content/public/browser/browser_context.h" |
48 #include "content/public/browser/browser_thread.h" | 48 #include "content/public/browser/browser_thread.h" |
49 #include "content/public/browser/render_view_host.h" | 49 #include "content/public/browser/render_view_host.h" |
50 #include "content/public/browser/web_contents.h" | 50 #include "content/public/browser/web_contents.h" |
51 #include "content/public/browser/web_contents_view.h" | 51 #include "content/public/browser/web_contents_view.h" |
52 #include "content/public/common/url_constants.h" | 52 #include "content/public/common/url_constants.h" |
53 #include "googleurl/src/gurl.h" | 53 #include "googleurl/src/gurl.h" |
54 #include "grit/generated_resources.h" | 54 #include "grit/component_resources.h" |
55 #include "ipc/ipc_message_macros.h" | 55 #include "ipc/ipc_message_macros.h" |
56 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAutofillClient.h" | 56 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAutofillClient.h" |
57 #include "ui/base/l10n/l10n_util.h" | 57 #include "ui/base/l10n/l10n_util.h" |
58 #include "ui/gfx/rect.h" | 58 #include "ui/gfx/rect.h" |
59 | 59 |
60 namespace autofill { | 60 namespace autofill { |
61 | 61 |
62 typedef PersonalDataManager::GUIDPair GUIDPair; | 62 typedef PersonalDataManager::GUIDPair GUIDPair; |
63 | 63 |
64 using base::TimeTicks; | 64 using base::TimeTicks; |
(...skipping 1229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1294 | 1294 |
1295 void AutofillManager::UpdateInitialInteractionTimestamp( | 1295 void AutofillManager::UpdateInitialInteractionTimestamp( |
1296 const TimeTicks& interaction_timestamp) { | 1296 const TimeTicks& interaction_timestamp) { |
1297 if (initial_interaction_timestamp_.is_null() || | 1297 if (initial_interaction_timestamp_.is_null() || |
1298 interaction_timestamp < initial_interaction_timestamp_) { | 1298 interaction_timestamp < initial_interaction_timestamp_) { |
1299 initial_interaction_timestamp_ = interaction_timestamp; | 1299 initial_interaction_timestamp_ = interaction_timestamp; |
1300 } | 1300 } |
1301 } | 1301 } |
1302 | 1302 |
1303 } // namespace autofill | 1303 } // namespace autofill |
OLD | NEW |