| 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 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 
| 7 | 7 | 
| 8 #include <list> | 8 #include <list> | 
| 9 #include <map> | 9 #include <map> | 
| 10 #include <string> | 10 #include <string> | 
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 311 | 311 | 
| 312   // Imports the form data, submitted by the user, into |personal_data_|. | 312   // Imports the form data, submitted by the user, into |personal_data_|. | 
| 313   void ImportFormData(const FormStructure& submitted_form); | 313   void ImportFormData(const FormStructure& submitted_form); | 
| 314 | 314 | 
| 315   // If |initial_interaction_timestamp_| is unset or is set to a later time than | 315   // If |initial_interaction_timestamp_| is unset or is set to a later time than | 
| 316   // |interaction_timestamp|, updates the cached timestamp.  The latter check is | 316   // |interaction_timestamp|, updates the cached timestamp.  The latter check is | 
| 317   // needed because IPC messages can arrive out of order. | 317   // needed because IPC messages can arrive out of order. | 
| 318   void UpdateInitialInteractionTimestamp( | 318   void UpdateInitialInteractionTimestamp( | 
| 319       const base::TimeTicks& interaction_timestamp); | 319       const base::TimeTicks& interaction_timestamp); | 
| 320 | 320 | 
| 321   // Send our current field type predictions to the renderer. This is a no-op if |  | 
| 322   // the appropriate command-line flag is not set. |  | 
| 323   void SendAutofillTypePredictions( |  | 
| 324       const std::vector<FormStructure*>& forms) const; |  | 
| 325 |  | 
| 326   // Provides driver-level context to the shared code of the component. Must | 321   // Provides driver-level context to the shared code of the component. Must | 
| 327   // outlive this object. | 322   // outlive this object. | 
| 328   AutofillDriver* driver_; | 323   AutofillDriver* driver_; | 
| 329 | 324 | 
| 330   autofill::AutofillManagerDelegate* const manager_delegate_; | 325   autofill::AutofillManagerDelegate* const manager_delegate_; | 
| 331 | 326 | 
| 332   std::string app_locale_; | 327   std::string app_locale_; | 
| 333 | 328 | 
| 334   // The personal data manager, used to save and load personal data to/from the | 329   // The personal data manager, used to save and load personal data to/from the | 
| 335   // web database.  This is overridden by the AutofillManagerTest. | 330   // web database.  This is overridden by the AutofillManagerTest. | 
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 411                            UserHappinessFormLoadAndSubmission); | 406                            UserHappinessFormLoadAndSubmission); | 
| 412   FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction); | 407   FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction); | 
| 413   FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 408   FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 
| 414                            FormSubmittedAutocompleteEnabled); | 409                            FormSubmittedAutocompleteEnabled); | 
| 415   DISALLOW_COPY_AND_ASSIGN(AutofillManager); | 410   DISALLOW_COPY_AND_ASSIGN(AutofillManager); | 
| 416 }; | 411 }; | 
| 417 | 412 | 
| 418 }  // namespace autofill | 413 }  // namespace autofill | 
| 419 | 414 | 
| 420 #endif  // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 415 #endif  // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 
| OLD | NEW | 
|---|