Index: chrome/browser/ui/webui/options/password_manager_handler.cc |
=================================================================== |
--- chrome/browser/ui/webui/options/password_manager_handler.cc (revision 91771) |
+++ chrome/browser/ui/webui/options/password_manager_handler.cc (working copy) |
@@ -11,6 +11,7 @@ |
#include "chrome/browser/google/google_util.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/profiles/profile.h" |
+#include "chrome/common/chrome_notification_types.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/common/url_constants.h" |
#include "content/common/notification_details.h" |
@@ -109,7 +110,7 @@ |
void PasswordManagerHandler::Observe(NotificationType type, |
const NotificationSource& source, |
const NotificationDetails& details) { |
- if (type.value == NotificationType::PREF_CHANGED) { |
+ if (type.value == chrome::PREF_CHANGED) { |
std::string* pref_name = Details<std::string>(details).ptr(); |
if (*pref_name == prefs::kPasswordManagerAllowShowPasswords) { |
UpdatePasswordLists(NULL); |