| Index: content/shell/browser/layout_test/layout_test_notification_manager.cc
|
| diff --git a/content/shell/browser/layout_test/layout_test_notification_manager.cc b/content/shell/browser/layout_test/layout_test_notification_manager.cc
|
| index 1fd856e14c2e7a70eeb050940d919c2539846ac2..81ec335d07e238aa96dc52fe69f366f5465f24c8 100644
|
| --- a/content/shell/browser/layout_test/layout_test_notification_manager.cc
|
| +++ b/content/shell/browser/layout_test/layout_test_notification_manager.cc
|
| @@ -5,6 +5,7 @@
|
| #include "content/shell/browser/layout_test/layout_test_notification_manager.h"
|
|
|
| #include "base/guid.h"
|
| +#include "base/strings/nullable_string16.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/desktop_notification_delegate.h"
|
| @@ -111,9 +112,10 @@ void LayoutTestNotificationManager::SimulateClick(const std::string& title,
|
|
|
| const PersistentNotification& notification = persistent_iter->second;
|
| content::NotificationEventDispatcher::GetInstance()
|
| - ->DispatchNotificationClickEvent(
|
| - notification.browser_context, notification_id, notification.origin,
|
| - action_index, base::Bind(&OnEventDispatchComplete));
|
| + ->DispatchNotificationClickEvent(notification.browser_context,
|
| + notification_id, notification.origin,
|
| + action_index, base::NullableString16(),
|
| + base::Bind(&OnEventDispatchComplete));
|
| } else if (non_persistent_iter != non_persistent_notifications_.end()) {
|
| DCHECK_EQ(action_index, -1) << "Action buttons are only supported for "
|
| "persistent notifications";
|
|
|