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

Unified Diff: ash/system/chromeos/session/tray_session_length_limit.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
« no previous file with comments | « ash/system/chromeos/screen_security/screen_share_tray_item.cc ('k') | ash/system/chromeos/tray_display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/session/tray_session_length_limit.cc
diff --git a/ash/system/chromeos/session/tray_session_length_limit.cc b/ash/system/chromeos/session/tray_session_length_limit.cc
index d6084004414ba8c634f08e7d8ed1a92b272dab57..e4beb9094e835ce474e204a0e099ab54c8275380 100644
--- a/ash/system/chromeos/session/tray_session_length_limit.cc
+++ b/ash/system/chromeos/session/tray_session_length_limit.cc
@@ -149,18 +149,16 @@ void TraySessionLengthLimit::UpdateNotification() {
(limit_state_ != last_limit_state_);
scoped_ptr<message_center::Notification> notification(
new message_center::Notification(
- message_center::NOTIFICATION_TYPE_SIMPLE,
- kNotificationId,
+ message_center::NOTIFICATION_TYPE_SIMPLE, kNotificationId,
base::string16() /* title */,
ComposeNotificationMessage() /* message */,
bundle.GetImageNamed(
IDR_AURA_UBER_TRAY_NOTIFICATION_SESSION_LENGTH_LIMIT),
- base::string16() /* display_source */,
+ base::string16() /* display_source */, GURL(),
message_center::NotifierId(
message_center::NotifierId::SYSTEM_COMPONENT,
system_notifier::kNotifierSessionLengthTimeout),
- data,
- NULL /* delegate */));
+ data, NULL /* delegate */));
notification->SetSystemPriority();
if (message_center->FindVisibleNotificationById(kNotificationId))
message_center->UpdateNotification(kNotificationId, notification.Pass());
« no previous file with comments | « ash/system/chromeos/screen_security/screen_share_tray_item.cc ('k') | ash/system/chromeos/tray_display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698