Index: chrome/browser/chromeos/preferences.cc |
=================================================================== |
--- chrome/browser/chromeos/preferences.cc (revision 91880) |
+++ chrome/browser/chromeos/preferences.cc (working copy) |
@@ -19,9 +19,9 @@ |
#include "chrome/browser/prefs/pref_member.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/common/pref_names.h" |
+#include "content/common/content_notification_types.h" |
#include "content/common/notification_details.h" |
#include "content/common/notification_source.h" |
-#include "content/common/notification_type.h" |
#include "unicode/timezone.h" |
namespace chromeos { |
@@ -264,10 +264,10 @@ |
} |
} |
-void Preferences::Observe(NotificationType type, |
+void Preferences::Observe(int type, |
const NotificationSource& source, |
const NotificationDetails& details) { |
- if (type == NotificationType::PREF_CHANGED) |
+ if (type == chrome::PREF_CHANGED) |
NotifyPrefChanged(Details<std::string>(details).ptr()); |
} |