| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 class AutofillMetrics; | 47 class AutofillMetrics; |
| 48 class AutofillProfile; | 48 class AutofillProfile; |
| 49 class AutofillType; | 49 class AutofillType; |
| 50 class CreditCard; | 50 class CreditCard; |
| 51 class FormStructureBrowserTest; | 51 class FormStructureBrowserTest; |
| 52 | 52 |
| 53 struct FormData; | 53 struct FormData; |
| 54 struct FormFieldData; | 54 struct FormFieldData; |
| 55 | 55 |
| 56 // Manages saving and restoring the user's personal information entered into web | 56 // Manages saving and restoring the user's personal information entered into web |
| 57 // forms. | 57 // forms. One per frame; owned by the AutofillDriver. |
| 58 class AutofillManager : public AutofillDownloadManager::Observer { | 58 class AutofillManager : public AutofillDownloadManager::Observer { |
| 59 public: | 59 public: |
| 60 enum AutofillDownloadManagerState { | 60 enum AutofillDownloadManagerState { |
| 61 ENABLE_AUTOFILL_DOWNLOAD_MANAGER, | 61 ENABLE_AUTOFILL_DOWNLOAD_MANAGER, |
| 62 DISABLE_AUTOFILL_DOWNLOAD_MANAGER, | 62 DISABLE_AUTOFILL_DOWNLOAD_MANAGER, |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 // Registers our Enable/Disable Autofill pref. | 65 // Registers our Enable/Disable Autofill pref. |
| 66 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); | 66 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); |
| 67 | 67 |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 398 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
| 399 AutocompleteOffRespected); | 399 AutocompleteOffRespected); |
| 400 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 400 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
| 401 AutocompleteOffRespectedWithFlag); | 401 AutocompleteOffRespectedWithFlag); |
| 402 DISALLOW_COPY_AND_ASSIGN(AutofillManager); | 402 DISALLOW_COPY_AND_ASSIGN(AutofillManager); |
| 403 }; | 403 }; |
| 404 | 404 |
| 405 } // namespace autofill | 405 } // namespace autofill |
| 406 | 406 |
| 407 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 407 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
| OLD | NEW |