Index: chrome/browser/password_manager/password_store_default_unittest.cc |
=================================================================== |
--- chrome/browser/password_manager/password_store_default_unittest.cc (revision 91968) |
+++ chrome/browser/password_manager/password_store_default_unittest.cc (working copy) |
@@ -15,6 +15,7 @@ |
#include "chrome/browser/password_manager/password_store_default.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/webdata/web_data_service.h" |
+#include "chrome/common/chrome_notification_types.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/test/signaling_task.h" |
#include "chrome/test/testing_profile.h" |
@@ -83,7 +84,7 @@ |
void AddObserverTask(PasswordStore* password_store) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); |
registrar_.Add(&observer_, |
- NotificationType::LOGINS_CHANGED, |
+ chrome::NOTIFICATION_LOGINS_CHANGED, |
Source<PasswordStore>(password_store)); |
done_event_.Signal(); |
} |
@@ -462,7 +463,7 @@ |
}; |
EXPECT_CALL(helper->observer(), |
- Observe(NotificationType(NotificationType::LOGINS_CHANGED), |
+ Observe(int(chrome::NOTIFICATION_LOGINS_CHANGED), |
Source<PasswordStore>(store), |
Property(&Details<const PasswordStoreChangeList>::ptr, |
Pointee(ElementsAreArray( |
@@ -486,7 +487,7 @@ |
}; |
EXPECT_CALL(helper->observer(), |
- Observe(NotificationType(NotificationType::LOGINS_CHANGED), |
+ Observe(int(chrome::NOTIFICATION_LOGINS_CHANGED), |
Source<PasswordStore>(store), |
Property(&Details<const PasswordStoreChangeList>::ptr, |
Pointee(ElementsAreArray( |
@@ -505,7 +506,7 @@ |
}; |
EXPECT_CALL(helper->observer(), |
- Observe(NotificationType(NotificationType::LOGINS_CHANGED), |
+ Observe(int(chrome::NOTIFICATION_LOGINS_CHANGED), |
Source<PasswordStore>(store), |
Property(&Details<const PasswordStoreChangeList>::ptr, |
Pointee(ElementsAreArray( |