Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: chrome/browser/services/gcm/push_messaging_infobar_delegate.cc

Issue 365123003: Implement midi permissions on top of the new common permission classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/services/gcm/push_messaging_infobar_delegate.cc
diff --git a/chrome/browser/services/gcm/push_messaging_infobar_delegate.cc b/chrome/browser/services/gcm/push_messaging_infobar_delegate.cc
index fe8baa2dcaba7cd9262a0b1feab4fe20cca7d665..3c40810a0af9f18268e703250bd965bb74c5f024 100644
--- a/chrome/browser/services/gcm/push_messaging_infobar_delegate.cc
+++ b/chrome/browser/services/gcm/push_messaging_infobar_delegate.cc
@@ -40,8 +40,11 @@ PushMessagingInfoBarDelegate::~PushMessagingInfoBarDelegate() {
base::string16 PushMessagingInfoBarDelegate::GetMessageText() const {
return l10n_util::GetStringFUTF16(
- IDS_PUSH_MESSAGES_PERMISSION_QUESTION,
- net::FormatUrl(requesting_origin_, display_languages_));
+ IDS_PUSH_MESSAGES_PERMISSION_QUESTION,
+ net::FormatUrl(requesting_origin_, display_languages_,
+ net::kFormatUrlOmitUsernamePassword |
+ net::kFormatUrlOmitTrailingSlashOnBareHostname,
+ net::UnescapeRule::SPACES, NULL, NULL, NULL));
}
} // namespace gcm

Powered by Google App Engine
This is Rietveld 408576698