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

Unified Diff: chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.cc

Issue 1292003004: Elide origins displayed on web notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Style nit Created 5 years, 4 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/ui/cocoa/apps/quit_with_apps_controller_mac.cc
diff --git a/chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.cc b/chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.cc
index e2e1da2654aaace870fcb869ecce42ecfca5ab0c..8fbc013a0e1f43dabf5d52ada7f5bdb371fd8b10 100644
--- a/chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.cc
+++ b/chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.cc
@@ -67,7 +67,6 @@ QuitWithAppsController::QuitWithAppsController()
notification_.reset(new Notification(
message_center::NOTIFICATION_TYPE_SIMPLE,
- GURL(kQuitWithAppsOriginUrl),
l10n_util::GetStringUTF16(IDS_QUIT_WITH_APPS_TITLE),
l10n_util::GetStringUTF16(IDS_QUIT_WITH_APPS_EXPLANATION),
ui::ResourceBundle::GetSharedInstance().GetImageNamed(
@@ -75,9 +74,7 @@ QuitWithAppsController::QuitWithAppsController()
message_center::NotifierId(message_center::NotifierId::SYSTEM_COMPONENT,
kQuitWithAppsNotificationID),
l10n_util::GetStringUTF16(IDS_QUIT_WITH_APPS_NOTIFICATION_DISPLAY_SOURCE),
- tag,
- rich_notification_data,
- this));
+ GURL(kQuitWithAppsOriginUrl), tag, rich_notification_data, this));
}
QuitWithAppsController::~QuitWithAppsController() {}

Powered by Google App Engine
This is Rietveld 408576698