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

Unified Diff: chrome/browser/browsing_data/browsing_data_counter_factory.cc

Issue 2828083003: Show autofill sync status in CBD (Closed)
Patch Set: fix history test Created 3 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: chrome/browser/browsing_data/browsing_data_counter_factory.cc
diff --git a/chrome/browser/browsing_data/browsing_data_counter_factory.cc b/chrome/browser/browsing_data/browsing_data_counter_factory.cc
index a2b5e95175887637f6855202f58f8a21355213ec..2b9f452a0b08cf1a7539914244f175afe3206a59 100644
--- a/chrome/browser/browsing_data/browsing_data_counter_factory.cc
+++ b/chrome/browser/browsing_data/browsing_data_counter_factory.cc
@@ -84,7 +84,8 @@ BrowsingDataCounterFactory::GetForProfileAndPref(Profile* profile,
if (pref_name == browsing_data::prefs::kDeleteFormData) {
return base::MakeUnique<browsing_data::AutofillCounter>(
WebDataServiceFactory::GetAutofillWebDataForProfile(
- profile, ServiceAccessType::EXPLICIT_ACCESS));
+ profile, ServiceAccessType::EXPLICIT_ACCESS),
+ ProfileSyncServiceFactory::GetForProfile(profile));
}
if (pref_name == browsing_data::prefs::kDeleteDownloadHistory)

Powered by Google App Engine
This is Rietveld 408576698