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

Unified Diff: chrome/browser/permissions/permission_manager.h

Issue 2966963003: Ensure media permission requests are correctly cancelled when permission prompts are ignored (Closed)
Patch Set: Ensure media permission requests are correctly cancelled when permission prompts are ignored Created 3 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/permissions/permission_manager.h
diff --git a/chrome/browser/permissions/permission_manager.h b/chrome/browser/permissions/permission_manager.h
index 339154bdbb8c6182998c3e08fe8ce044f16640e9..c75d96732379c58eeb4bc9bab192fe48477a1671 100644
--- a/chrome/browser/permissions/permission_manager.h
+++ b/chrome/browser/permissions/permission_manager.h
@@ -104,11 +104,14 @@ class PermissionManager : public KeyedService,
bool IsPermissionKillSwitchOn(ContentSettingsType);
private:
+ friend class PermissionManagerTest;
friend class GeolocationPermissionContextTests;
class PendingRequest;
using PendingRequestsMap = IDMap<std::unique_ptr<PendingRequest>>;
+ class PermissionResponseCallback;
+
struct Subscription;
using SubscriptionsMap = IDMap<std::unique_ptr<Subscription>>;

Powered by Google App Engine
This is Rietveld 408576698