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

Unified Diff: chrome/browser/ui/cocoa/notifications/balloon_controller_unittest.mm

Issue 11414215: Add CloseAllByProfile to NotificationUIManager and call before destroyng a Profile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac Created 8 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/ui/cocoa/notifications/balloon_controller_unittest.mm
diff --git a/chrome/browser/ui/cocoa/notifications/balloon_controller_unittest.mm b/chrome/browser/ui/cocoa/notifications/balloon_controller_unittest.mm
index accce9b7f43b3fe4266b660e1bd697b06bd66f8d..2e059dc44849ba3d5b11319e9da2bce668b0c738 100644
--- a/chrome/browser/ui/cocoa/notifications/balloon_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/notifications/balloon_controller_unittest.mm
@@ -36,6 +36,7 @@ class MockBalloonCollection : public BalloonCollection {
Profile* profile) {}
virtual bool RemoveById(const std::string& id) { return false; }
virtual bool RemoveBySourceOrigin(const GURL& origin) { return false; }
+ virtual bool RemoveByProfile(Profile* profile) { return false; }
virtual void RemoveAll() {}
virtual bool HasSpace() const { return true; }
virtual void ResizeBalloon(Balloon* balloon, const gfx::Size& size) {}

Powered by Google App Engine
This is Rietveld 408576698