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

Unified Diff: chrome/browser/android/data_usage/external_data_use_observer_unittest.cc

Issue 1772273002: Remove one thread hop while fetching matching rules (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 9 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/android/data_usage/external_data_use_observer_unittest.cc
diff --git a/chrome/browser/android/data_usage/external_data_use_observer_unittest.cc b/chrome/browser/android/data_usage/external_data_use_observer_unittest.cc
index 5768b3f5ab0331aec50414919c33b0b3a3181fb9..7185358744196a61b36209eb3e105aade8a7e4a0 100644
--- a/chrome/browser/android/data_usage/external_data_use_observer_unittest.cc
+++ b/chrome/browser/android/data_usage/external_data_use_observer_unittest.cc
@@ -594,6 +594,8 @@ TEST_F(ExternalDataUseObserverTest, DataUseReportTimedOut) {
// Create another ExternalDataUseObserver object.
ReplaceExternalDataUseObserver(variation_params);
+ histogram_tester.ExpectTotalCount(kUMAMatchingRuleFirstFetchDurationHistogram,
+ 0);
// Trigger the control app install, and matching rules will be fetched.
external_data_use_observer()

Powered by Google App Engine
This is Rietveld 408576698