Index: chrome/browser/password_manager/password_store_x_unittest.cc |
=================================================================== |
--- chrome/browser/password_manager/password_store_x_unittest.cc (revision 91968) |
+++ chrome/browser/password_manager/password_store_x_unittest.cc (working copy) |
@@ -78,7 +78,7 @@ |
void AddObserverTask() { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); |
registrar_.Add(&observer_, |
- NotificationType::LOGINS_CHANGED, |
+ chrome::LOGINS_CHANGED, |
NotificationService::AllSources()); |
done_event_.Signal(); |
} |
@@ -541,7 +541,7 @@ |
}; |
EXPECT_CALL(helper->observer(), |
- Observe(NotificationType(NotificationType::LOGINS_CHANGED), |
+ Observe(int(chrome::LOGINS_CHANGED), |
NotificationService::AllSources(), |
Property(&Details<const PasswordStoreChangeList>::ptr, |
Pointee(ElementsAreArray( |
@@ -565,7 +565,7 @@ |
}; |
EXPECT_CALL(helper->observer(), |
- Observe(NotificationType(NotificationType::LOGINS_CHANGED), |
+ Observe(int(chrome::LOGINS_CHANGED), |
NotificationService::AllSources(), |
Property(&Details<const PasswordStoreChangeList>::ptr, |
Pointee(ElementsAreArray( |
@@ -584,7 +584,7 @@ |
}; |
EXPECT_CALL(helper->observer(), |
- Observe(NotificationType(NotificationType::LOGINS_CHANGED), |
+ Observe(int(chrome::LOGINS_CHANGED), |
NotificationService::AllSources(), |
Property(&Details<const PasswordStoreChangeList>::ptr, |
Pointee(ElementsAreArray( |