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

Unified Diff: chrome/browser/safe_browsing/permission_reporter_browsertest.cc

Issue 2250893002: Permission Action Reporting: Add num_prior_* fields. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@par-new-fields-proto
Patch Set: Also update browsertest Created 4 years, 4 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/safe_browsing/permission_reporter_browsertest.cc
diff --git a/chrome/browser/safe_browsing/permission_reporter_browsertest.cc b/chrome/browser/safe_browsing/permission_reporter_browsertest.cc
index 71dd4b3d5b0addba70f2b7de9bd8c44120f972d2..feb4d1741195253e2b6f2ee1e419df568c5ffc10 100644
--- a/chrome/browser/safe_browsing/permission_reporter_browsertest.cc
+++ b/chrome/browser/safe_browsing/permission_reporter_browsertest.cc
@@ -125,6 +125,8 @@ IN_PROC_BROWSER_TEST_F(PermissionReporterBrowserTest,
EXPECT_EQ(PermissionReport::DESKTOP_PLATFORM,
permission_report.platform_type());
EXPECT_EQ(PermissionReport::NO_GESTURE, permission_report.gesture());
+ EXPECT_EQ(0, permission_report.num_prior_dismissals());
+ EXPECT_EQ(0, permission_report.num_prior_ignores());
}
} // namespace safe_browsing

Powered by Google App Engine
This is Rietveld 408576698