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

Unified Diff: chrome/browser/chromeos/first_run/drive_first_run_controller.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/chromeos/first_run/drive_first_run_controller.cc
diff --git a/chrome/browser/chromeos/first_run/drive_first_run_controller.cc b/chrome/browser/chromeos/first_run/drive_first_run_controller.cc
index 5f9b86bc4c30cf6bae6d2a35375e86895dfdced2..ae66cfaf11ef039feea1b7b092bb896c0ac8b974 100644
--- a/chrome/browser/chromeos/first_run/drive_first_run_controller.cc
+++ b/chrome/browser/chromeos/first_run/drive_first_run_controller.cc
@@ -463,16 +463,14 @@ void DriveFirstRunController::ShowNotification() {
ui::ResourceBundle& resource_bundle = ui::ResourceBundle::GetSharedInstance();
scoped_ptr<message_center::Notification> notification(
new message_center::Notification(
- message_center::NOTIFICATION_TYPE_SIMPLE,
- kDriveOfflineNotificationId,
- base::string16(), // title
+ message_center::NOTIFICATION_TYPE_SIMPLE, kDriveOfflineNotificationId,
+ base::string16(), // title
l10n_util::GetStringUTF16(IDS_DRIVE_OFFLINE_NOTIFICATION_MESSAGE),
resource_bundle.GetImageNamed(IDR_NOTIFICATION_DRIVE),
- base::UTF8ToUTF16(extension->name()),
+ base::UTF8ToUTF16(extension->name()), GURL(),
message_center::NotifierId(message_center::NotifierId::APPLICATION,
kDriveHostedAppId),
- data,
- new DriveOfflineNotificationDelegate(profile_)));
+ data, new DriveOfflineNotificationDelegate(profile_)));
notification->set_priority(message_center::LOW_PRIORITY);
message_center::MessageCenter::Get()->AddNotification(notification.Pass());
}

Powered by Google App Engine
This is Rietveld 408576698