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

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

Issue 2675483002: Replace PermissionType in chrome/ with ContentSettingsType (Closed)
Patch Set: ready Created 3 years, 10 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 7fe213ba64342e15e9e3de1b01461af60a5bfc5f..ad20bcb9b8628901a490fe0f84575e0923de583f 100644
--- a/chrome/browser/safe_browsing/permission_reporter.h
+++ b/chrome/browser/safe_browsing/permission_reporter.h
@@ -27,7 +27,7 @@ namespace safe_browsing {
struct PermissionAndOrigin {
bool operator==(const PermissionAndOrigin& other) const;
- content::PermissionType permission;
+ ContentSettingsType permission;
GURL origin;
};
@@ -71,7 +71,7 @@ class PermissionReporter {
// Returns false if the number of reports sent in the last one minute per
// origin per permission is under a threshold, otherwise true.
- bool IsReportThresholdExceeded(content::PermissionType permission,
+ bool IsReportThresholdExceeded(ContentSettingsType permission,
const GURL& origin);
std::unique_ptr<net::ReportSender> permission_report_sender_;

Powered by Google App Engine
This is Rietveld 408576698