Index: chrome/browser/chromeos/notifications/notification_browsertest.cc |
=================================================================== |
--- chrome/browser/chromeos/notifications/notification_browsertest.cc (revision 91880) |
+++ chrome/browser/chromeos/notifications/notification_browsertest.cc (working copy) |
@@ -110,10 +110,10 @@ |
} |
// NotificationObserver overrides. |
- virtual void Observe(NotificationType type, |
+ virtual void Observe(int type, |
const NotificationSource& source, |
const NotificationDetails& details) { |
- ASSERT_TRUE(NotificationType::PANEL_STATE_CHANGED == type); |
+ ASSERT_TRUE(chrome::PANEL_STATE_CHANGED == type); |
PanelController::State* state = |
reinterpret_cast<PanelController::State*>(details.map_key()); |
state_ = *state; |
@@ -301,7 +301,7 @@ |
// Register observer here as the registration does not work in SetUp(). |
NotificationRegistrar registrar; |
registrar.Add(this, |
- NotificationType::PANEL_STATE_CHANGED, |
+ chrome::PANEL_STATE_CHANGED, |
NotificationService::AllSources()); |
BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); |
@@ -368,7 +368,7 @@ |
IN_PROC_BROWSER_TEST_F(NotificationTest, TestCleanupOnExit) { |
NotificationRegistrar registrar; |
registrar.Add(this, |
- NotificationType::PANEL_STATE_CHANGED, |
+ chrome::PANEL_STATE_CHANGED, |
NotificationService::AllSources()); |
BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); |