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

Unified Diff: components/navigation_metrics/navigation_metrics_unittest.cc

Issue 2823233003: Deprecate Once-Per-Origin Navigation histograms (Closed)
Patch Set: Remove deleted .h from .mm 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: components/navigation_metrics/navigation_metrics_unittest.cc
diff --git a/components/navigation_metrics/navigation_metrics_unittest.cc b/components/navigation_metrics/navigation_metrics_unittest.cc
index c4514a3c806371fb4b60ea6628eb1ca639ed4f50..d1c110759f0167f9125b58bcba4a41024dd32055 100644
--- a/components/navigation_metrics/navigation_metrics_unittest.cc
+++ b/components/navigation_metrics/navigation_metrics_unittest.cc
@@ -21,7 +21,7 @@ namespace navigation_metrics {
TEST(NavigationMetrics, MainFrameSchemeDifferentDocument) {
base::HistogramTester test;
- RecordMainFrameNavigation(GURL(kTestUrl), false, false, false);
+ RecordMainFrameNavigation(GURL(kTestUrl), false, false);
test.ExpectTotalCount(kMainFrameScheme, 1);
test.ExpectUniqueSample(kMainFrameScheme, 1 /* http */, 1);
@@ -32,7 +32,7 @@ TEST(NavigationMetrics, MainFrameSchemeDifferentDocument) {
TEST(NavigationMetrics, MainFrameSchemeSameDocument) {
base::HistogramTester test;
- RecordMainFrameNavigation(GURL(kTestUrl), true, false, false);
+ RecordMainFrameNavigation(GURL(kTestUrl), true, false);
test.ExpectTotalCount(kMainFrameScheme, 1);
test.ExpectUniqueSample(kMainFrameScheme, 1 /* http */, 1);
« no previous file with comments | « components/navigation_metrics/navigation_metrics.cc ('k') | components/navigation_metrics/origins_seen_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698