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

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

Issue 14564003: Make PersonalDataManager use GetCreditCards() (rather than using credit_cards_ directly) so Autofill (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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: components/autofill/browser/personal_data_manager.h
diff --git a/components/autofill/browser/personal_data_manager.h b/components/autofill/browser/personal_data_manager.h
index 1c25d38ba65d6beb62bffd5d0dfde4f20927bfdd..0457c20f5b85f08b52af0b5efb4f3e5f14506ea4 100644
--- a/components/autofill/browser/personal_data_manager.h
+++ b/components/autofill/browser/personal_data_manager.h
@@ -119,11 +119,11 @@ class PersonalDataManager : public WebDataServiceConsumer,
// This PersonalDataManager owns these profiles and credit cards. Their
// lifetime is until the web database is updated with new profile and credit
- // card information, respectively. |profiles()| returns both web and
+ // card information, respectively. |GetProfiles()| returns both web and
// auxiliary profiles. |web_profiles()| returns only web profiles.
virtual const std::vector<AutofillProfile*>& GetProfiles();
virtual const std::vector<AutofillProfile*>& web_profiles() const;
- virtual const std::vector<CreditCard*>& credit_cards() const;
+ virtual const std::vector<CreditCard*>& GetCreditCards() const;
// Loads profiles that can suggest data for |type|. |field_contents| is the
// part the user has already typed. |field_is_autofilled| is true if the field
« no previous file with comments | « components/autofill/browser/autofill_manager.cc ('k') | components/autofill/browser/personal_data_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698