diff options
Diffstat (limited to 'chrome/browser/chromeos/notifications/desktop_notifications_unittest.h')
-rw-r--r-- | chrome/browser/chromeos/notifications/desktop_notifications_unittest.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/notifications/desktop_notifications_unittest.h b/chrome/browser/chromeos/notifications/desktop_notifications_unittest.h index a2d52c8..b424c67 100644 --- a/chrome/browser/chromeos/notifications/desktop_notifications_unittest.h +++ b/chrome/browser/chromeos/notifications/desktop_notifications_unittest.h @@ -20,6 +20,7 @@ #include "chrome/browser/notifications/notification_test_util.h" #include "chrome/browser/notifications/notification_ui_manager.h" #include "chrome/browser/notifications/notifications_prefs_cache.h" +#include "chrome/common/render_messages.h" #include "chrome/test/testing_profile.h" #include "testing/gtest/include/gtest/gtest.h" @@ -83,6 +84,9 @@ class DesktopNotificationsTest : public testing::Test { return service_->prefs_cache()->HasPermission(origin); } + // Constructs a notification parameter structure for use in tests. + ViewHostMsg_ShowNotification_Params StandardTestNotification(); + // Create a message loop to allow notifications code to post tasks, // and a thread so that notifications code runs on the expected thread. MessageLoopForUI message_loop_; |