diff options
Diffstat (limited to 'chrome/browser/views/options')
-rw-r--r-- | chrome/browser/views/options/options_page_view.cc | 3 | ||||
-rw-r--r-- | chrome/browser/views/options/options_page_view.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/views/options/options_page_view.cc b/chrome/browser/views/options/options_page_view.cc index e1eff1c..61a8977 100644 --- a/chrome/browser/views/options/options_page_view.cc +++ b/chrome/browser/views/options/options_page_view.cc @@ -6,6 +6,7 @@ #include "chrome/browser/browser_process.h" #include "chrome/browser/metrics/user_metrics.h" +#include "chrome/common/notification_service.h" #include "chrome/common/pref_service.h" #include "chrome/views/widget.h" @@ -33,7 +34,7 @@ void OptionsPageView::UserMetricsRecordAction(const wchar_t* action, void OptionsPageView::Observe(NotificationType type, const NotificationSource& source, const NotificationDetails& details) { - if (type == NOTIFY_PREF_CHANGED) + if (type == NotificationType::PREF_CHANGED) NotifyPrefChanged(Details<std::wstring>(details).ptr()); } diff --git a/chrome/browser/views/options/options_page_view.h b/chrome/browser/views/options/options_page_view.h index d60b0d4..f9e5110 100644 --- a/chrome/browser/views/options/options_page_view.h +++ b/chrome/browser/views/options/options_page_view.h @@ -7,7 +7,7 @@ #include "chrome/browser/options_window.h" #include "chrome/browser/profile.h" -#include "chrome/common/notification_service.h" +#include "chrome/common/notification_observer.h" #include "chrome/views/link.h" #include "chrome/views/native_button.h" |