Index: chrome/browser/content_settings/permission_queue_controller.h |
diff --git a/chrome/browser/content_settings/permission_queue_controller.h b/chrome/browser/content_settings/permission_queue_controller.h |
index eabe256cbcfa90a35e1e263f58a532ca6fd9832f..589785c9bffa9f9ed97563db29789e8dc35a6960 100644 |
--- a/chrome/browser/content_settings/permission_queue_controller.h |
+++ b/chrome/browser/content_settings/permission_queue_controller.h |
@@ -40,6 +40,9 @@ class PermissionQueueController : public content::NotificationObserver { |
// Cancels a specific infobar request. |
void CancelInfoBarRequest(const PermissionRequestID& id); |
+ // Cancels all infobar requests that match |group_id|. |
+ void CancelInfoBarRequests(int group_id); |
+ |
// Called by the InfoBarDelegate to notify permission has been set. |
// It'll notify and dismiss any other pending InfoBar request for the same |
// |requesting_frame| and embedder. |