Index: chrome/browser/extensions/extension_test_message_listener.cc |
=================================================================== |
--- chrome/browser/extensions/extension_test_message_listener.cc (revision 91968) |
+++ chrome/browser/extensions/extension_test_message_listener.cc (working copy) |
@@ -5,9 +5,9 @@ |
#include "chrome/browser/extensions/extension_test_message_listener.h" |
#include "chrome/browser/extensions/extension_test_api.h" |
+#include "chrome/common/chrome_notification_types.h" |
#include "chrome/test/ui_test_utils.h" |
#include "content/common/notification_service.h" |
-#include "content/common/notification_type.h" |
ExtensionTestMessageListener::ExtensionTestMessageListener( |
const std::string& expected_message, |
@@ -16,7 +16,7 @@ |
satisfied_(false), |
waiting_(false), |
will_reply_(will_reply) { |
- registrar_.Add(this, NotificationType::EXTENSION_TEST_MESSAGE, |
+ registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_TEST_MESSAGE, |
NotificationService::AllSources()); |
} |
@@ -39,7 +39,7 @@ |
} |
void ExtensionTestMessageListener::Observe( |
- NotificationType type, |
+ int type, |
const NotificationSource& source, |
const NotificationDetails& details) { |
const std::string& content = *Details<std::string>(details).ptr(); |