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

Unified Diff: components/browsing_data/core/counters/autofill_counter.cc

Issue 2855623005: Move browsing_data counter sync tests to separate file (Closed)
Patch Set: fixes Created 3 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 side-by-side diff with in-line comments
Download patch
Index: components/browsing_data/core/counters/autofill_counter.cc
diff --git a/components/browsing_data/core/counters/autofill_counter.cc b/components/browsing_data/core/counters/autofill_counter.cc
index be5b5d4d5de296b625dd8ce79749a6bf8b06ed29..0b9a7d8deaada30fa913d7d64b314811d8671427 100644
--- a/components/browsing_data/core/counters/autofill_counter.cc
+++ b/components/browsing_data/core/counters/autofill_counter.cc
@@ -200,10 +200,9 @@ AutofillCounter::AutofillResult::AutofillResult(const AutofillCounter* source,
ResultInt num_credit_cards,
ResultInt num_addresses,
bool autofill_sync_enabled_)
- : FinishedResult(source, num_suggestions),
+ : SyncResult(source, num_suggestions, autofill_sync_enabled_),
num_credit_cards_(num_credit_cards),
- num_addresses_(num_addresses),
- autofill_sync_enabled_(autofill_sync_enabled_) {}
+ num_addresses_(num_addresses) {}
AutofillCounter::AutofillResult::~AutofillResult() {}

Powered by Google App Engine
This is Rietveld 408576698