Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: chrome/browser/extensions/extension_test_message_listener.cc

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « chrome/browser/extensions/extension_test_message_listener.h ('k') | chrome/browser/extensions/extension_toolbar_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698