Index: chrome/browser/permissions/permission_infobar_delegate.cc |
diff --git a/chrome/browser/permissions/permission_infobar_delegate.cc b/chrome/browser/permissions/permission_infobar_delegate.cc |
index b3eea783d7e292364aeb0d74763980c2d450c4a2..c30741082af651aea35606d59060d4f12717cc7f 100644 |
--- a/chrome/browser/permissions/permission_infobar_delegate.cc |
+++ b/chrome/browser/permissions/permission_infobar_delegate.cc |
@@ -12,6 +12,7 @@ |
#include "chrome/browser/media/midi_permission_infobar_delegate_android.h" |
#include "chrome/browser/media/protected_media_identifier_infobar_delegate_android.h" |
#include "chrome/browser/notifications/notification_permission_infobar_delegate.h" |
+#include "chrome/browser/payments/payment_handler_permission_infobar_delegate.h" |
#include "chrome/browser/permissions/permission_decision_auto_blocker.h" |
#include "chrome/browser/permissions/permission_request.h" |
#include "chrome/browser/permissions/permission_uma_util.h" |
@@ -66,6 +67,10 @@ PermissionInfoBarDelegate::CreateDelegate( |
return std::unique_ptr<PermissionInfoBarDelegate>( |
new ProtectedMediaIdentifierInfoBarDelegateAndroid( |
requesting_frame, user_gesture, profile, callback)); |
+ case CONTENT_SETTINGS_TYPE_PAYMENT_HANDLER: |
+ return std::unique_ptr<PermissionInfoBarDelegate>( |
+ new PaymentHandlerPermissionInfoBarDelegate( |
please use gerrit instead
2017/06/20 13:28:09
return base::MakeUnique<PaymentHandlerPermissionIn
zino
2017/06/22 17:26:43
Done.
|
+ requesting_frame, user_gesture, profile, callback)); |
default: |
NOTREACHED(); |
return nullptr; |