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

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

Issue 2153763002: Add user gesture field to permission report (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add-source-ui-to-permission-report
Patch Set: nit Created 4 years, 5 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
« no previous file with comments | « chrome/browser/safe_browsing/ping_manager.cc ('k') | chrome/browser/safe_browsing/ui_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 754f9cb911f07aa6c1968202ec00e0aa6d7b42be..af1e510c9b5a3b1092868df5d3deed7f635dc2d9 100644
--- a/chrome/browser/safe_browsing/ui_manager.h
+++ b/chrome/browser/safe_browsing/ui_manager.h
@@ -155,7 +155,8 @@ class SafeBrowsingUIManager
void ReportPermissionAction(const GURL& origin,
content::PermissionType permission,
PermissionAction action,
- PermissionSourceUI source_ui);
+ PermissionSourceUI source_ui,
+ bool user_gesture);
// Add and remove observers. These methods must be invoked on the UI thread.
void AddObserver(Observer* observer);
@@ -181,7 +182,8 @@ class SafeBrowsingUIManager
void ReportPermissionActionOnIOThread(const GURL& origin,
content::PermissionType permission,
PermissionAction action,
- PermissionSourceUI source_ui);
+ PermissionSourceUI source_ui,
+ bool user_gesture);
// Updates the whitelist state. Called on the UI thread.
void AddToWhitelist(const UnsafeResource& resource);
« no previous file with comments | « chrome/browser/safe_browsing/ping_manager.cc ('k') | chrome/browser/safe_browsing/ui_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698