summaryrefslogtreecommitdiffstats
path: root/chrome/browser/prefs/pref_notifier_impl_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/prefs/pref_notifier_impl_unittest.cc')
-rw-r--r--chrome/browser/prefs/pref_notifier_impl_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/prefs/pref_notifier_impl_unittest.cc b/chrome/browser/prefs/pref_notifier_impl_unittest.cc
index c413e32..32d7f22 100644
--- a/chrome/browser/prefs/pref_notifier_impl_unittest.cc
+++ b/chrome/browser/prefs/pref_notifier_impl_unittest.cc
@@ -6,6 +6,7 @@
#include "chrome/browser/prefs/pref_observer_mock.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/prefs/pref_value_store.h"
+#include "chrome/common/chrome_notification_types.h"
#include "chrome/test/testing_pref_service.h"
#include "content/common/notification_observer_mock.h"
#include "content/common/notification_registrar.h"
@@ -80,11 +81,10 @@ TEST_F(PrefNotifierTest, OnInitializationCompleted) {
MockPrefNotifier notifier(&pref_service_);
NotificationObserverMock observer;
NotificationRegistrar registrar;
- registrar.Add(&observer, NotificationType::PREF_INITIALIZATION_COMPLETED,
+ registrar.Add(&observer, chrome::NOTIFICATION_PREF_INITIALIZATION_COMPLETED,
Source<PrefService>(&pref_service_));
EXPECT_CALL(observer, Observe(
- Field(&NotificationType::value,
- NotificationType::PREF_INITIALIZATION_COMPLETED),
+ int(chrome::NOTIFICATION_PREF_INITIALIZATION_COMPLETED),
Source<PrefService>(&pref_service_),
Property(&Details<bool>::ptr, testing::Pointee(true))));
notifier.OnInitializationCompleted(true);