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

Unified Diff: chrome/browser/safe_browsing/ui_manager.h

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/ui_manager.h
diff --git a/chrome/browser/safe_browsing/ui_manager.h b/chrome/browser/safe_browsing/ui_manager.h
index c94fc55109417f6c78f896e0ae1b7d071ba4ab06..d35863b64a6c72f79370e753c31709addfc0b540 100644
--- a/chrome/browser/safe_browsing/ui_manager.h
+++ b/chrome/browser/safe_browsing/ui_manager.h
@@ -157,7 +157,9 @@ class SafeBrowsingUIManager
content::PermissionType permission,
PermissionAction action,
PermissionSourceUI source_ui,
- PermissionRequestGestureType gesture_type);
+ PermissionRequestGestureType gesture_type,
+ int num_prior_dismissals,
+ int num_prior_ignores);
// Add and remove observers. These methods must be invoked on the UI thread.
void AddObserver(Observer* observer);
@@ -185,7 +187,9 @@ class SafeBrowsingUIManager
content::PermissionType permission,
PermissionAction action,
PermissionSourceUI source_ui,
- PermissionRequestGestureType gesture_type);
+ PermissionRequestGestureType gesture_type,
+ int num_prior_dismissals,
+ int num_prior_ignores);
// Updates the whitelist state. Called on the UI thread.
void AddToWhitelist(const UnsafeResource& resource);

Powered by Google App Engine
This is Rietveld 408576698