Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: components/autofill/core/browser/autofill_manager.h

Issue 301343002: mac: Clean up autofill integration with Address Book. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@autofill_cleanup2_base
Patch Set: Autofill test failures on Android. Undo a change to autofill_test_utils.cc. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 class AutofillManager : public AutofillDownloadManager::Observer { 66 class AutofillManager : public AutofillDownloadManager::Observer {
67 public: 67 public:
68 enum AutofillDownloadManagerState { 68 enum AutofillDownloadManagerState {
69 ENABLE_AUTOFILL_DOWNLOAD_MANAGER, 69 ENABLE_AUTOFILL_DOWNLOAD_MANAGER,
70 DISABLE_AUTOFILL_DOWNLOAD_MANAGER, 70 DISABLE_AUTOFILL_DOWNLOAD_MANAGER,
71 }; 71 };
72 72
73 // Registers our Enable/Disable Autofill pref. 73 // Registers our Enable/Disable Autofill pref.
74 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); 74 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
75 75
76 #if defined(OS_MACOSX) && !defined(OS_IOS)
77 static void MigrateUserPrefs(PrefService* prefs);
78 #endif // defined(OS_MACOSX) && !defined(OS_IOS)
79
76 AutofillManager(AutofillDriver* driver, 80 AutofillManager(AutofillDriver* driver,
77 autofill::AutofillManagerDelegate* delegate, 81 autofill::AutofillManagerDelegate* delegate,
78 const std::string& app_locale, 82 const std::string& app_locale,
79 AutofillDownloadManagerState enable_download_manager); 83 AutofillDownloadManagerState enable_download_manager);
80 virtual ~AutofillManager(); 84 virtual ~AutofillManager();
81 85
82 // Sets an external delegate. 86 // Sets an external delegate.
83 void SetExternalDelegate(AutofillExternalDelegate* delegate); 87 void SetExternalDelegate(AutofillExternalDelegate* delegate);
84 88
85 void ShowAutofillSettings(); 89 void ShowAutofillSettings();
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 UserHappinessFormLoadAndSubmission); 374 UserHappinessFormLoadAndSubmission);
371 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction); 375 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction);
372 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, 376 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
373 FormSubmittedAutocompleteEnabled); 377 FormSubmittedAutocompleteEnabled);
374 DISALLOW_COPY_AND_ASSIGN(AutofillManager); 378 DISALLOW_COPY_AND_ASSIGN(AutofillManager);
375 }; 379 };
376 380
377 } // namespace autofill 381 } // namespace autofill
378 382
379 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ 383 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_
OLDNEW
« no previous file with comments | « components/autofill/core/browser/autofill_external_delegate.cc ('k') | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698