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

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: merge 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/permissions/permission_util.cc ('k') | chrome/browser/safe_browsing/permission_reporter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f8fd040a5a4cb69be2ba557ce3c814709d7d7583..b3d2badead3bc0094cc48b0eb8b7995767d5ae08 100644
--- a/chrome/browser/safe_browsing/permission_reporter.h
+++ b/chrome/browser/safe_browsing/permission_reporter.h
@@ -55,7 +55,8 @@ class PermissionReporter {
// //src/chrome/common/safe_browsing/permission_report.proto
void SendReport(const GURL& origin,
content::PermissionType permission,
- PermissionAction action);
+ PermissionAction action,
+ PermissionSourceUI source_ui);
private:
friend class PermissionReporterTest;
@@ -73,6 +74,7 @@ class PermissionReporter {
static bool BuildReport(const GURL& origin,
content::PermissionType permission,
PermissionAction action,
+ PermissionSourceUI source_ui,
std::string* output);
// Returns false if the number of reports sent in the last one minute per
« no previous file with comments | « chrome/browser/permissions/permission_util.cc ('k') | chrome/browser/safe_browsing/permission_reporter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698