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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc

Issue 248333002: Remove AutocompleteResultErrorUnsupported, replace with AutocompleteResultErrorDisabled (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
index 2b1a40c969e8edaac9c2e253d7198ce5e081cda0..1f079f401188412de2839e468dd87ad155151306 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
@@ -654,7 +654,7 @@ void AutofillDialogControllerImpl::Show() {
// Fail if the author didn't specify autocomplete types.
if (!has_types) {
callback_.Run(
- AutofillManagerDelegate::AutocompleteResultErrorUnsupported,
+ AutofillManagerDelegate::AutocompleteResultErrorDisabled,
base::ASCIIToUTF16("Form is missing autocomplete attributes."),
NULL);
delete this;
@@ -674,7 +674,7 @@ void AutofillDialogControllerImpl::Show() {
if (!has_credit_card_field) {
callback_.Run(
- AutofillManagerDelegate::AutocompleteResultErrorUnsupported,
+ AutofillManagerDelegate::AutocompleteResultErrorDisabled,
base::ASCIIToUTF16("Form is not a payment form (must contain "
"some autocomplete=\"cc-*\" fields). "),
NULL);

Powered by Google App Engine
This is Rietveld 408576698