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

Unified Diff: ui/message_center/message_center_tray_unittest.cc

Issue 12277024: Notificaitons refactor step 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more feedback from Steven Created 7 years, 10 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 | « ui/message_center/message_center_bubble.cc ('k') | ui/message_center/message_popup_bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/message_center_tray_unittest.cc
diff --git a/ui/message_center/message_center_tray_unittest.cc b/ui/message_center/message_center_tray_unittest.cc
index e3fa107ec7e7872848dc30acc4b90f5f577eec7c..406e360a93004ab07369b346961706c8b5753566 100644
--- a/ui/message_center/message_center_tray_unittest.cc
+++ b/ui/message_center/message_center_tray_unittest.cc
@@ -7,7 +7,7 @@
#include "base/utf_string_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/message_center/message_center.h"
-#include "ui/notifications/notification_types.h"
+#include "ui/message_center/notification_types.h"
namespace message_center {
namespace {
@@ -102,7 +102,7 @@ TEST_F(MessageCenterTrayTest, BasicPopup) {
ASSERT_FALSE(message_center_tray_->message_center_visible());
message_center_->AddNotification(
- ui::notifications::NOTIFICATION_TYPE_SIMPLE,
+ message_center::NOTIFICATION_TYPE_SIMPLE,
"BasicPopup",
ASCIIToUTF16("Test Web Notification"),
ASCIIToUTF16("Notification message body."),
@@ -124,7 +124,7 @@ TEST_F(MessageCenterTrayTest, MessageCenterClosesPopups) {
ASSERT_FALSE(message_center_tray_->message_center_visible());
message_center_->AddNotification(
- ui::notifications::NOTIFICATION_TYPE_SIMPLE,
+ message_center::NOTIFICATION_TYPE_SIMPLE,
"MessageCenterClosesPopups",
ASCIIToUTF16("Test Web Notification"),
ASCIIToUTF16("Notification message body."),
@@ -142,7 +142,7 @@ TEST_F(MessageCenterTrayTest, MessageCenterClosesPopups) {
ASSERT_TRUE(message_center_tray_->message_center_visible());
message_center_->AddNotification(
- ui::notifications::NOTIFICATION_TYPE_SIMPLE,
+ message_center::NOTIFICATION_TYPE_SIMPLE,
"MessageCenterClosesPopups2",
ASCIIToUTF16("Test Web Notification"),
ASCIIToUTF16("Notification message body."),
@@ -170,7 +170,7 @@ TEST_F(MessageCenterTrayTest, ShowBubbleFails) {
ASSERT_FALSE(message_center_tray_->message_center_visible());
message_center_->AddNotification(
- ui::notifications::NOTIFICATION_TYPE_SIMPLE,
+ message_center::NOTIFICATION_TYPE_SIMPLE,
"ShowBubbleFails",
ASCIIToUTF16("Test Web Notification"),
ASCIIToUTF16("Notification message body."),
« no previous file with comments | « ui/message_center/message_center_bubble.cc ('k') | ui/message_center/message_popup_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698