| 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..e6ae69f6af04c0641d40c99392672193d934bae8 100644
|
| --- a/chrome/browser/safe_browsing/permission_reporter.h
|
| +++ b/chrome/browser/safe_browsing/permission_reporter.h
|
| @@ -11,6 +11,7 @@
|
|
|
| #include "base/time/time.h"
|
| #include "chrome/browser/permissions/permission_uma_util.h"
|
| +#include "components/content_settings/core/common/content_settings_types.h"
|
| #include "url/gurl.h"
|
|
|
| namespace base {
|
| @@ -27,7 +28,7 @@ namespace safe_browsing {
|
| struct PermissionAndOrigin {
|
| bool operator==(const PermissionAndOrigin& other) const;
|
|
|
| - content::PermissionType permission;
|
| + ContentSettingsType permission;
|
| GURL origin;
|
| };
|
|
|
| @@ -71,7 +72,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_;
|
|
|