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

Unified Diff: chrome/browser/safe_browsing/permission_reporter.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/permission_reporter.h
diff --git a/chrome/browser/safe_browsing/permission_reporter.h b/chrome/browser/safe_browsing/permission_reporter.h
index 523de8e57057aa67d749f31333c690896448f132..36190519727d0a3cbc9d8f23bb8df0a1e696c1ee 100644
--- a/chrome/browser/safe_browsing/permission_reporter.h
+++ b/chrome/browser/safe_browsing/permission_reporter.h
@@ -36,7 +36,8 @@ class PermissionReporter {
// //src/chrome/common/safe_browsing/permission_report.proto
void SendReport(const GURL& origin,
content::PermissionType permission,
- PermissionAction action);
+ PermissionAction action,
+ SourceUI source_ui);
private:
friend class PermissionReporterTest;
@@ -53,6 +54,7 @@ class PermissionReporter {
static bool BuildReport(const GURL& origin,
content::PermissionType permission,
PermissionAction action,
+ SourceUI source_ui,
std::string* output);
std::unique_ptr<net::ReportSender> permission_report_sender_;

Powered by Google App Engine
This is Rietveld 408576698