| 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> | 
| (...skipping 19 matching lines...) Expand all  Loading... | 
|    30 #include "chrome/browser/autofill/autofill_metrics.h" |    30 #include "chrome/browser/autofill/autofill_metrics.h" | 
|    31 #include "chrome/browser/autofill/autofill_profile.h" |    31 #include "chrome/browser/autofill/autofill_profile.h" | 
|    32 #include "chrome/browser/autofill/autofill_type.h" |    32 #include "chrome/browser/autofill/autofill_type.h" | 
|    33 #include "chrome/browser/autofill/credit_card.h" |    33 #include "chrome/browser/autofill/credit_card.h" | 
|    34 #include "chrome/browser/autofill/form_structure.h" |    34 #include "chrome/browser/autofill/form_structure.h" | 
|    35 #include "chrome/browser/autofill/password_generator.h" |    35 #include "chrome/browser/autofill/password_generator.h" | 
|    36 #include "chrome/browser/autofill/personal_data_manager.h" |    36 #include "chrome/browser/autofill/personal_data_manager.h" | 
|    37 #include "chrome/browser/autofill/personal_data_manager_factory.h" |    37 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 
|    38 #include "chrome/browser/autofill/phone_number.h" |    38 #include "chrome/browser/autofill/phone_number.h" | 
|    39 #include "chrome/browser/autofill/phone_number_i18n.h" |    39 #include "chrome/browser/autofill/phone_number_i18n.h" | 
|    40 #include "chrome/common/autofill_messages.h" |  | 
|    41 #include "chrome/common/chrome_notification_types.h" |    40 #include "chrome/common/chrome_notification_types.h" | 
|    42 #include "chrome/common/chrome_switches.h" |    41 #include "chrome/common/chrome_switches.h" | 
|    43 #include "chrome/common/form_data.h" |  | 
|    44 #include "chrome/common/form_data_predictions.h" |  | 
|    45 #include "chrome/common/form_field_data.h" |  | 
|    46 #include "chrome/common/password_form_fill_data.h" |  | 
|    47 #include "chrome/common/pref_names.h" |    42 #include "chrome/common/pref_names.h" | 
|    48 #include "chrome/common/url_constants.h" |    43 #include "chrome/common/url_constants.h" | 
 |    44 #include "components/autofill/common/autofill_messages.h" | 
 |    45 #include "components/autofill/common/form_data.h" | 
 |    46 #include "components/autofill/common/form_data_predictions.h" | 
 |    47 #include "components/autofill/common/form_field_data.h" | 
 |    48 #include "components/autofill/common/password_form_fill_data.h" | 
|    49 #include "components/user_prefs/pref_registry_syncable.h" |    49 #include "components/user_prefs/pref_registry_syncable.h" | 
|    50 #include "content/public/browser/browser_context.h" |    50 #include "content/public/browser/browser_context.h" | 
|    51 #include "content/public/browser/browser_thread.h" |    51 #include "content/public/browser/browser_thread.h" | 
|    52 #include "content/public/browser/notification_service.h" |    52 #include "content/public/browser/notification_service.h" | 
|    53 #include "content/public/browser/notification_source.h" |    53 #include "content/public/browser/notification_source.h" | 
|    54 #include "content/public/browser/render_view_host.h" |    54 #include "content/public/browser/render_view_host.h" | 
|    55 #include "content/public/browser/web_contents.h" |    55 #include "content/public/browser/web_contents.h" | 
|    56 #include "content/public/browser/web_contents_view.h" |    56 #include "content/public/browser/web_contents_view.h" | 
|    57 #include "googleurl/src/gurl.h" |    57 #include "googleurl/src/gurl.h" | 
|    58 #include "grit/generated_resources.h" |    58 #include "grit/generated_resources.h" | 
| (...skipping 1254 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1313   *profile_guid = IDToGUID(profile_id); |  1313   *profile_guid = IDToGUID(profile_id); | 
|  1314 } |  1314 } | 
|  1315  |  1315  | 
|  1316 void AutofillManager::UpdateInitialInteractionTimestamp( |  1316 void AutofillManager::UpdateInitialInteractionTimestamp( | 
|  1317     const TimeTicks& interaction_timestamp) { |  1317     const TimeTicks& interaction_timestamp) { | 
|  1318   if (initial_interaction_timestamp_.is_null() || |  1318   if (initial_interaction_timestamp_.is_null() || | 
|  1319       interaction_timestamp < initial_interaction_timestamp_) { |  1319       interaction_timestamp < initial_interaction_timestamp_) { | 
|  1320     initial_interaction_timestamp_ = interaction_timestamp; |  1320     initial_interaction_timestamp_ = interaction_timestamp; | 
|  1321   } |  1321   } | 
|  1322 } |  1322 } | 
| OLD | NEW |