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

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

Issue 23432002: Generate passwords only for forms that autofill server marks as account creation forms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address llya's nits and fix a bug in form structure unit test. Created 7 years, 3 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_DELEGATE_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 virtual void HideAutofillPopup() = 0; 135 virtual void HideAutofillPopup() = 0;
136 136
137 // Whether the Autocomplete feature of Autofill should be enabled. 137 // Whether the Autocomplete feature of Autofill should be enabled.
138 virtual bool IsAutocompleteEnabled() = 0; 138 virtual bool IsAutocompleteEnabled() = 0;
139 139
140 // Update progress of the Autocheckout flow as displayed to the user. 140 // Update progress of the Autocheckout flow as displayed to the user.
141 virtual void AddAutocheckoutStep(AutocheckoutStepType step_type) = 0; 141 virtual void AddAutocheckoutStep(AutocheckoutStepType step_type) = 0;
142 virtual void UpdateAutocheckoutStep( 142 virtual void UpdateAutocheckoutStep(
143 AutocheckoutStepType step_type, 143 AutocheckoutStepType step_type,
144 AutocheckoutStepStatus step_status) = 0; 144 AutocheckoutStepStatus step_status) = 0;
145
146 // Pass the form structures to the password generation manager to detect
147 // account creation forms.
148 virtual void DetectAccountCreationForms(
149 const std::vector<autofill::FormStructure*>& forms) = 0;
145 }; 150 };
146 151
147 } // namespace autofill 152 } // namespace autofill
148 153
149 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ 154 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698