summaryrefslogtreecommitdiffstats
path: root/chrome/browser/prefs/pref_observer_mock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/prefs/pref_observer_mock.cc')
-rw-r--r--chrome/browser/prefs/pref_observer_mock.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/prefs/pref_observer_mock.cc b/chrome/browser/prefs/pref_observer_mock.cc
index a41ed5c..5d144b7 100644
--- a/chrome/browser/prefs/pref_observer_mock.cc
+++ b/chrome/browser/prefs/pref_observer_mock.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "chrome/browser/prefs/pref_observer_mock.h"
+#include "chrome/common/chrome_notification_types.h"
PrefObserverMock::PrefObserverMock() {}
@@ -11,7 +12,7 @@ PrefObserverMock::~PrefObserverMock() {}
void PrefObserverMock::Expect(const PrefService* prefs,
const std::string& pref_name,
const Value* value) {
- EXPECT_CALL(*this, Observe(NotificationType(NotificationType::PREF_CHANGED),
+ EXPECT_CALL(*this, Observe(int(chrome::NOTIFICATION_PREF_CHANGED),
Source<PrefService>(prefs),
Property(&Details<std::string>::ptr,
Pointee(pref_name))))