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

Unified Diff: chrome/browser/search/hotword_service.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/search/hotword_service.cc
diff --git a/chrome/browser/search/hotword_service.cc b/chrome/browser/search/hotword_service.cc
index 3611432c396a2b63f2e53e68f8f891dbac9e655c..b2880b5493cd14c04fdd7f9eca6cee7fe741c0d6 100644
--- a/chrome/browser/search/hotword_service.cc
+++ b/chrome/browser/search/hotword_service.cc
@@ -427,17 +427,13 @@ void HotwordService::ShowHotwordNotification() {
Notification notification(
message_center::NOTIFICATION_TYPE_SIMPLE,
- GURL(),
l10n_util::GetStringUTF16(IDS_HOTWORD_NOTIFICATION_TITLE),
l10n_util::GetStringUTF16(IDS_HOTWORD_NOTIFICATION_DESCRIPTION),
ui::ResourceBundle::GetSharedInstance().GetImageNamed(
IDR_HOTWORD_NOTIFICATION_ICON),
- message_center::NotifierId(
- message_center::NotifierId::SYSTEM_COMPONENT,
- hotword_internal::kHotwordNotifierId),
- base::string16(),
- std::string(),
- data,
+ message_center::NotifierId(message_center::NotifierId::SYSTEM_COMPONENT,
+ hotword_internal::kHotwordNotifierId),
+ base::string16(), GURL(), std::string(), data,
new HotwordNotificationDelegate(profile_));
g_browser_process->notification_ui_manager()->Add(notification, profile_);

Powered by Google App Engine
This is Rietveld 408576698