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

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

Issue 2126213002: [Payments] Record use of profiles and credit cards in Payment Request. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed temp card bug + nits Created 4 years, 5 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
« no previous file with comments | « components/autofill/core/browser/autofill_data_model.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8d23206f1558a593cf7bf04912fbf00494e0de9b..b32e130b3dc4ef6cf35142fb9af318065a40edcc 100644
--- a/components/autofill/core/browser/personal_data_manager.h
+++ b/components/autofill/core/browser/personal_data_manager.h
@@ -260,6 +260,11 @@ class PersonalDataManager : public KeyedService,
static void DedupeCreditCardToSuggest(
std::list<CreditCard*>* cards_to_suggest);
+ // Notifies test observers that personal data has changed.
+ void NotifyPersonalDataChangedForTest() {
+ NotifyPersonalDataChanged();
+ }
+
protected:
// Only PersonalDataManagerFactory and certain tests can create instances of
// PersonalDataManager.
« no previous file with comments | « components/autofill/core/browser/autofill_data_model.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698