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

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

Issue 2623033003: Always show counters in the material design Clear Browsing Data dialog. (Closed)
Patch Set: iOS fix #2 Created 3 years, 11 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 b0e55d0f7a60e7d18cdd146243487a7c163dceb1..6e40f26cb13137dbfd8b8f5ec6eb17cbc57f6269 100644
--- a/components/browsing_data/core/counters/autofill_counter.cc
+++ b/components/browsing_data/core/counters/autofill_counter.cc
@@ -147,7 +147,7 @@ void AutofillCounter::OnWebDataServiceRequestDone(
}
// If we still have pending queries, do not report data yet.
- if (HasPendingQuery())
+ if (suggestions_query_ || credit_cards_query_ || addresses_query_)
return;
std::unique_ptr<Result> reported_result(new AutofillResult(

Powered by Google App Engine
This is Rietveld 408576698