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

Unified Diff: components/autofill/core/browser/personal_data_manager.h

Issue 845173003: Autofill - don't show server cards in android preferences (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 5 years, 11 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: components/autofill/core/browser/personal_data_manager.h
diff --git a/components/autofill/core/browser/personal_data_manager.h b/components/autofill/core/browser/personal_data_manager.h
index d6106833c78df49e0822abac63acb71a94eca4f3..2c33425ff72cf08c2d9e3c461015487caddb894b 100644
--- a/components/autofill/core/browser/personal_data_manager.h
+++ b/components/autofill/core/browser/personal_data_manager.h
@@ -134,6 +134,9 @@ class PersonalDataManager : public KeyedService,
// auxiliary profiles. |web_profiles()| returns only web profiles.
virtual const std::vector<AutofillProfile*>& GetProfiles() const;
virtual const std::vector<AutofillProfile*>& web_profiles() const;
+ // Returns just LOCAL_CARD cards.
+ virtual const std::vector<CreditCard*>& GetLocalCreditCards() const;
+ // Returns all credit cards, server and local.
virtual const std::vector<CreditCard*>& GetCreditCards() const;
// Loads profiles that can suggest data for |type|. |field_contents| is the
« no previous file with comments | « chrome/browser/ui/webui/options/autofill_options_handler.cc ('k') | components/autofill/core/browser/personal_data_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698