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/core/browser/autofill_manager.h" | 5 #include "components/autofill/core/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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 #include "content/public/browser/browser_thread.h" | 49 #include "content/public/browser/browser_thread.h" |
50 #include "content/public/browser/navigation_details.h" | 50 #include "content/public/browser/navigation_details.h" |
51 #include "content/public/browser/render_view_host.h" | 51 #include "content/public/browser/render_view_host.h" |
52 #include "content/public/browser/web_contents.h" | 52 #include "content/public/browser/web_contents.h" |
53 #include "content/public/browser/web_contents_view.h" | 53 #include "content/public/browser/web_contents_view.h" |
54 #include "content/public/common/frame_navigate_params.h" | 54 #include "content/public/common/frame_navigate_params.h" |
55 #include "content/public/common/url_constants.h" | 55 #include "content/public/common/url_constants.h" |
56 #include "googleurl/src/gurl.h" | 56 #include "googleurl/src/gurl.h" |
57 #include "grit/component_strings.h" | 57 #include "grit/component_strings.h" |
58 #include "ipc/ipc_message_macros.h" | 58 #include "ipc/ipc_message_macros.h" |
59 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAutofillClient.h" | 59 #include "third_party/WebKit/public/web/WebAutofillClient.h" |
60 #include "ui/base/l10n/l10n_util.h" | 60 #include "ui/base/l10n/l10n_util.h" |
61 #include "ui/gfx/rect.h" | 61 #include "ui/gfx/rect.h" |
62 | 62 |
63 namespace autofill { | 63 namespace autofill { |
64 | 64 |
65 typedef PersonalDataManager::GUIDPair GUIDPair; | 65 typedef PersonalDataManager::GUIDPair GUIDPair; |
66 | 66 |
67 using base::TimeTicks; | 67 using base::TimeTicks; |
68 using content::BrowserThread; | 68 using content::BrowserThread; |
69 using content::RenderViewHost; | 69 using content::RenderViewHost; |
(...skipping 1223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1293 | 1293 |
1294 void AutofillManager::UpdateInitialInteractionTimestamp( | 1294 void AutofillManager::UpdateInitialInteractionTimestamp( |
1295 const TimeTicks& interaction_timestamp) { | 1295 const TimeTicks& interaction_timestamp) { |
1296 if (initial_interaction_timestamp_.is_null() || | 1296 if (initial_interaction_timestamp_.is_null() || |
1297 interaction_timestamp < initial_interaction_timestamp_) { | 1297 interaction_timestamp < initial_interaction_timestamp_) { |
1298 initial_interaction_timestamp_ = interaction_timestamp; | 1298 initial_interaction_timestamp_ = interaction_timestamp; |
1299 } | 1299 } |
1300 } | 1300 } |
1301 | 1301 |
1302 } // namespace autofill | 1302 } // namespace autofill |
OLD | NEW |