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

Unified Diff: chrome/browser/chromeos/notifications/notification_browsertest.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/chromeos/notifications/notification_browsertest.cc
===================================================================
--- chrome/browser/chromeos/notifications/notification_browsertest.cc (revision 91880)
+++ chrome/browser/chromeos/notifications/notification_browsertest.cc (working copy)
@@ -110,10 +110,10 @@
}
// NotificationObserver overrides.
- virtual void Observe(NotificationType type,
+ virtual void Observe(int type,
const NotificationSource& source,
const NotificationDetails& details) {
- ASSERT_TRUE(NotificationType::PANEL_STATE_CHANGED == type);
+ ASSERT_TRUE(chrome::PANEL_STATE_CHANGED == type);
PanelController::State* state =
reinterpret_cast<PanelController::State*>(details.map_key());
state_ = *state;
@@ -301,7 +301,7 @@
// Register observer here as the registration does not work in SetUp().
NotificationRegistrar registrar;
registrar.Add(this,
- NotificationType::PANEL_STATE_CHANGED,
+ chrome::PANEL_STATE_CHANGED,
NotificationService::AllSources());
BalloonCollectionImpl* collection = GetBalloonCollectionImpl();
@@ -368,7 +368,7 @@
IN_PROC_BROWSER_TEST_F(NotificationTest, TestCleanupOnExit) {
NotificationRegistrar registrar;
registrar.Add(this,
- NotificationType::PANEL_STATE_CHANGED,
+ chrome::PANEL_STATE_CHANGED,
NotificationService::AllSources());
BalloonCollectionImpl* collection = GetBalloonCollectionImpl();

Powered by Google App Engine
This is Rietveld 408576698