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

Unified Diff: chrome/browser/browsing_data/browsing_data_remover_unittest.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/browsing_data/browsing_data_remover_unittest.cc
diff --git a/chrome/browser/browsing_data/browsing_data_remover_unittest.cc b/chrome/browser/browsing_data/browsing_data_remover_unittest.cc
index 3364e1dded129fa6b8a28bd689dbfe806e5798df..bef111dea8aa771d2ceb8bf49549da412cbaebb7 100644
--- a/chrome/browser/browsing_data/browsing_data_remover_unittest.cc
+++ b/chrome/browser/browsing_data/browsing_data_remover_unittest.cc
@@ -1029,13 +1029,11 @@ class RemovePermissionPromptCountsTest {
: blocker_(new PermissionDecisionAutoBlocker(profile)) {}
int GetDismissCount(const GURL& url, content::PermissionType permission) {
- return blocker_->GetActionCountForTest(url, permission,
- PermissionDecisionAutoBlocker::kPromptDismissCountKey);
+ return blocker_->GetDismissCount(url, permission);
}
int GetIgnoreCount(const GURL& url, content::PermissionType permission) {
- return blocker_->GetActionCountForTest(url, permission,
- PermissionDecisionAutoBlocker::kPromptIgnoreCountKey);
+ return blocker_->GetIgnoreCount(url, permission);
}
int RecordIgnore(const GURL& url, content::PermissionType permission) {

Powered by Google App Engine
This is Rietveld 408576698