Chromium Code Reviews| Index: chrome/browser/permissions/permission_util.h |
| diff --git a/chrome/browser/permissions/permission_util.h b/chrome/browser/permissions/permission_util.h |
| index b63b2e084485bf9b157a7809fd4a0e049d34af81..54bb9cdaa0c4f22847ffa6ad332e77a5429427da 100644 |
| --- a/chrome/browser/permissions/permission_util.h |
| +++ b/chrome/browser/permissions/permission_util.h |
| @@ -41,7 +41,9 @@ class PermissionUtil { |
| // A scoped class that will check the current resolved content setting on |
| // construction and report a revocation metric accordingly if the revocation |
| - // condition is met (from ALLOW to something else). |
| + // condition is met (from ALLOW to something else). By default, |
| + // |settings_map_| is obtained from |profile_|, but it can be changed with the |
| + // setter if necessary. |
|
raymes
2016/07/26 07:50:03
This comment is incorrect now
stefanocs
2016/07/26 12:00:05
Done.
|
| class ScopedRevocationReporter { |
| public: |
| ScopedRevocationReporter(Profile* profile, |
| @@ -50,6 +52,12 @@ class PermissionUtil { |
| ContentSettingsType content_type, |
| PermissionSourceUI source_ui); |
| + ScopedRevocationReporter(Profile* profile, |
| + const ContentSettingsPattern& primary_pattern, |
| + const ContentSettingsPattern& secondary_pattern, |
| + ContentSettingsType content_type, |
| + PermissionSourceUI source_ui); |
| + |
| ~ScopedRevocationReporter(); |
| private: |