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

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

Issue 707173004: Refactor Autofill for out of process iframes (OOPIF). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update tests, respond to review comments, cleanup Created 6 years, 1 month 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, 375 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
376 AutocompleteOffRespected); 376 AutocompleteOffRespected);
377 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, 377 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
378 AutocompleteOffRespectedWithFlag); 378 AutocompleteOffRespectedWithFlag);
379 DISALLOW_COPY_AND_ASSIGN(AutofillManager); 379 DISALLOW_COPY_AND_ASSIGN(AutofillManager);
380 }; 380 };
381 381
382 } // namespace autofill 382 } // namespace autofill
383 383
384 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ 384 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698