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

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

Issue 1920863006: [Autofill] Do not show Autocomplete suggestions for credit card fields. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no autocomplete on cc number, exp or cvc Created 4 years, 7 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
« no previous file with comments | « no previous file | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <memory> 10 #include <memory>
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, 579 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
580 OnLoadedServerPredictions_ResetManager); 580 OnLoadedServerPredictions_ResetManager);
581 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, 581 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
582 AutocompleteSuggestions_SomeWhenAutofillDisabled); 582 AutocompleteSuggestions_SomeWhenAutofillDisabled);
583 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, 583 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
584 AutocompleteSuggestions_SomeWhenAutofillEmpty); 584 AutocompleteSuggestions_SomeWhenAutofillEmpty);
585 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, 585 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
586 AutocompleteSuggestions_NoneWhenAutofillPresent); 586 AutocompleteSuggestions_NoneWhenAutofillPresent);
587 FRIEND_TEST_ALL_PREFIXES( 587 FRIEND_TEST_ALL_PREFIXES(
588 AutofillManagerTest, 588 AutofillManagerTest,
589 AutocompleteSuggestions_CreditCardNameFieldShouldAutocomplete);
590 FRIEND_TEST_ALL_PREFIXES(
591 AutofillManagerTest,
592 AutocompleteSuggestions_CreditCardNumberShouldNotAutocomplete);
593 FRIEND_TEST_ALL_PREFIXES(
594 AutofillManagerTest,
589 AutocompleteSuggestions_AutofillDisabledAndFieldShouldNotAutocomplete); 595 AutocompleteSuggestions_AutofillDisabledAndFieldShouldNotAutocomplete);
590 FRIEND_TEST_ALL_PREFIXES( 596 FRIEND_TEST_ALL_PREFIXES(
591 AutofillManagerTest, 597 AutofillManagerTest,
592 AutocompleteSuggestions_NoneWhenAutofillEmptyFieldShouldNotAutocomplete); 598 AutocompleteSuggestions_NoneWhenAutofillEmptyFieldShouldNotAutocomplete);
593 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, 599 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
594 AutocompleteOffRespectedForAutocomplete); 600 AutocompleteOffRespectedForAutocomplete);
595 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, 601 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
596 DontSaveCvcInAutocompleteHistory); 602 DontSaveCvcInAutocompleteHistory);
597 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, DontOfferToSavePaymentsCard); 603 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, DontOfferToSavePaymentsCard);
598 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, FillInUpdatedExpirationDate); 604 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, FillInUpdatedExpirationDate);
599 DISALLOW_COPY_AND_ASSIGN(AutofillManager); 605 DISALLOW_COPY_AND_ASSIGN(AutofillManager);
600 }; 606 };
601 607
602 } // namespace autofill 608 } // namespace autofill
603 609
604 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ 610 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698