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

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

Issue 2075523002: Add SourceUI field to permission report (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment + TODO 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
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 4b39b6543217b87e2c6c0347899701cb6f584c90..85a3ddfcbf5b8b21fe86709cdb75ccd887970b6f 100644
--- a/chrome/browser/safe_browsing/ui_manager.h
+++ b/chrome/browser/safe_browsing/ui_manager.h
@@ -154,7 +154,8 @@ class SafeBrowsingUIManager
// thread.
void ReportPermissionAction(const GURL& origin,
content::PermissionType permission,
- PermissionAction action);
+ PermissionAction action,
+ SourceUI source_ui);
// Add and remove observers. These methods must be invoked on the UI thread.
void AddObserver(Observer* observer);
@@ -179,7 +180,8 @@ class SafeBrowsingUIManager
// Report permission action to SafeBrowsing servers.
void ReportPermissionActionOnIOThread(const GURL& origin,
content::PermissionType permission,
- PermissionAction action);
+ PermissionAction action,
+ SourceUI source_ui);
// Updates the whitelist state. Called on the UI thread.
void AddToWhitelist(const UnsafeResource& resource);

Powered by Google App Engine
This is Rietveld 408576698