Index: chrome/browser/permissions/permission_request_impl.cc |
diff --git a/chrome/browser/permissions/permission_request_impl.cc b/chrome/browser/permissions/permission_request_impl.cc |
index 11276f7834261bf48f0f2dac20e53ea8971608e8..ca4757f20dafa597bcc71108f60db5446df354ba 100644 |
--- a/chrome/browser/permissions/permission_request_impl.cc |
+++ b/chrome/browser/permissions/permission_request_impl.cc |
@@ -10,6 +10,7 @@ |
#include "chrome/browser/permissions/permission_util.h" |
#include "chrome/grit/generated_resources.h" |
#include "chrome/grit/theme_resources.h" |
+#include "components/strings/grit/components_strings.h" |
#include "components/url_formatter/elide_url.h" |
#include "net/base/escape.h" |
#include "ui/base/l10n/l10n_util.h" |
@@ -93,6 +94,8 @@ PermissionRequest::IconId PermissionRequestImpl::GetIconId() const { |
return ui::kMicrophoneIcon; |
case CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA: |
return ui::kVideocamIcon; |
+ case CONTENT_SETTINGS_TYPE_PAYMENT_HANDLER: |
+ return kProductIcon; |
default: |
NOTREACHED(); |
return kExtensionIcon; |
@@ -161,6 +164,9 @@ base::string16 PermissionRequestImpl::GetMessageTextFragment() const { |
case CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA: |
message_id = IDS_MEDIA_CAPTURE_VIDEO_ONLY_PERMISSION_FRAGMENT; |
break; |
+ case CONTENT_SETTINGS_TYPE_PAYMENT_HANDLER: |
+ message_id = IDS_PAYMENTS_PAYMENT_HANDLER_REQUEST_PERMISSION; |
+ break; |
default: |
NOTREACHED(); |
return base::string16(); |