| Index: chrome/browser/chrome_quota_permission_context.cc
|
| diff --git a/chrome/browser/chrome_quota_permission_context.cc b/chrome/browser/chrome_quota_permission_context.cc
|
| index 306ccacf58bd6341ee1b4b0143cc3bf2867a1038..110a73bac9d6f70139012200cf2561a7cc1094eb 100644
|
| --- a/chrome/browser/chrome_quota_permission_context.cc
|
| +++ b/chrome/browser/chrome_quota_permission_context.cc
|
| @@ -36,9 +36,11 @@
|
|
|
| namespace {
|
|
|
| +#if defined(OS_ANDROID)
|
| // If the site requested larger quota than this threshold, show a different
|
| // message to the user.
|
| const int64_t kRequestLargeQuotaThreshold = 5 * 1024 * 1024;
|
| +#endif
|
|
|
| // QuotaPermissionRequest ---------------------------------------------
|
|
|
| @@ -55,7 +57,6 @@ class QuotaPermissionRequest : public PermissionBubbleRequest {
|
| private:
|
| // PermissionBubbleRequest:
|
| int GetIconId() const override;
|
| - base::string16 GetMessageText() const override;
|
| base::string16 GetMessageTextFragment() const override;
|
| GURL GetOrigin() const override;
|
| void PermissionGranted() override;
|
| @@ -89,14 +90,6 @@ int QuotaPermissionRequest::GetIconId() const {
|
| return IDR_INFOBAR_WARNING;
|
| }
|
|
|
| -base::string16 QuotaPermissionRequest::GetMessageText() const {
|
| - return l10n_util::GetStringFUTF16(
|
| - (requested_quota_ > kRequestLargeQuotaThreshold
|
| - ? IDS_REQUEST_LARGE_QUOTA_INFOBAR_QUESTION
|
| - : IDS_REQUEST_QUOTA_INFOBAR_QUESTION),
|
| - url_formatter::FormatUrlForSecurityDisplay(origin_url_));
|
| -}
|
| -
|
| base::string16 QuotaPermissionRequest::GetMessageTextFragment() const {
|
| return l10n_util::GetStringUTF16(IDS_REQUEST_QUOTA_PERMISSION_FRAGMENT);
|
| }
|
|
|