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

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

Issue 2120973002: [Payments] Show complete profiles first and limit to 4 suggestions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Truncate to top 4 suggestions 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
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 c913506b341c460db6f7e48b3af5be01a53fb67c..fb62152e3ea81c38fd855670f5f22337b3c5570c 100644
--- a/components/autofill/core/browser/personal_data_manager.h
+++ b/components/autofill/core/browser/personal_data_manager.h
@@ -157,6 +157,9 @@ class PersonalDataManager : public KeyedService,
// Sets a server credit card for test.
void AddServerCreditCardForTest(std::unique_ptr<CreditCard> credit_card);
+ // Notifies observers that personal data has changed for tests.
please use gerrit instead 2016/07/07 13:59:36 // Notifies test observers that personal data has
sebsg 2016/07/08 07:54:52 Done.
+ void NotifyPersonalDataChangedForTests();
+
// Returns the credit card with the specified |guid|, or NULL if there is
// no credit card with the specified |guid|.
CreditCard* GetCreditCardByGUID(const std::string& guid);

Powered by Google App Engine
This is Rietveld 408576698