Index: chrome/browser/storage/durable_storage_permission_infobar_delegate.cc |
diff --git a/chrome/browser/storage/durable_storage_permission_infobar_delegate.cc b/chrome/browser/storage/durable_storage_permission_infobar_delegate.cc |
index 6657a4941083f3bd32ac0bcaee96a1db41c9efab..8e6976010b96e5d22e1b0a75893d11d84a9249c9 100644 |
--- a/chrome/browser/storage/durable_storage_permission_infobar_delegate.cc |
+++ b/chrome/browser/storage/durable_storage_permission_infobar_delegate.cc |
@@ -16,25 +16,25 @@ |
// static |
infobars::InfoBar* DurableStoragePermissionInfoBarDelegate::Create( |
InfoBarService* infobar_service, |
- PermissionQueueController* controller, |
const PermissionRequestID& id, |
const GURL& requesting_frame, |
const std::string& display_languages, |
- ContentSettingsType type) { |
+ ContentSettingsType type, |
+ const base::Callback<void(bool, bool)>& callback) { |
return infobar_service->AddInfoBar( |
infobar_service->CreateConfirmInfoBar(scoped_ptr<ConfirmInfoBarDelegate>( |
new DurableStoragePermissionInfoBarDelegate( |
- controller, id, requesting_frame, display_languages, type)))); |
+ id, requesting_frame, display_languages, type, callback)))); |
} |
DurableStoragePermissionInfoBarDelegate:: |
DurableStoragePermissionInfoBarDelegate( |
- PermissionQueueController* controller, |
const PermissionRequestID& id, |
const GURL& requesting_frame, |
const std::string& display_languages, |
- ContentSettingsType type) |
- : PermissionInfobarDelegate(controller, id, requesting_frame, type), |
+ ContentSettingsType type, |
+ const base::Callback<void(bool, bool)>& callback) |
+ : PermissionInfobarDelegate(id, requesting_frame, type, callback), |
requesting_frame_(requesting_frame), |
display_languages_(display_languages) { |
} |