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

Unified Diff: chrome/browser/chromeos/notifications/desktop_notifications_unittest.h

Issue 4635007: When an extension is uninstalled, close all desktop notifications from that e... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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/desktop_notifications_unittest.h
===================================================================
--- chrome/browser/chromeos/notifications/desktop_notifications_unittest.h (revision 66634)
+++ chrome/browser/chromeos/notifications/desktop_notifications_unittest.h (working copy)
@@ -17,7 +17,6 @@
#include "chrome/browser/notifications/balloon.h"
#include "chrome/browser/notifications/desktop_notification_service.h"
#include "chrome/browser/notifications/notification.h"
-#include "chrome/browser/notifications/notification_object_proxy.h"
#include "chrome/browser/notifications/notification_test_util.h"
#include "chrome/browser/notifications/notification_ui_manager.h"
#include "chrome/browser/notifications/notifications_prefs_cache.h"
@@ -28,7 +27,7 @@
namespace chromeos {
class DesktopNotificationsTest;
-typedef LoggingNotificationProxyBase<DesktopNotificationsTest>
+typedef LoggingNotificationDelegate<DesktopNotificationsTest>
LoggingNotificationProxy;
// Test version of the balloon collection which counts the number
@@ -40,7 +39,6 @@
// BalloonCollectionImpl overrides
virtual void Add(const Notification& notification,
Profile* profile);
- virtual bool Remove(const Notification& notification);
virtual Balloon* MakeBalloon(const Notification& notification,
Profile* profile);
virtual void OnBalloonClosed(Balloon* source);
@@ -54,7 +52,6 @@
private:
std::set<Balloon*> balloons_;
- scoped_refptr<LoggingNotificationProxy> log_proxy_;
};
class DesktopNotificationsTest : public testing::Test {

Powered by Google App Engine
This is Rietveld 408576698