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

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

Issue 20136004: Allow partial update for notification update API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add more tests per feedback Created 7 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
« no previous file with comments | « chrome/browser/ui/ash/screenshot_taker_unittest.cc ('k') | chrome/common/extensions/api/notifications.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 58c279f0aea9f78b06cfc79f0611bf4eae6f4bbc..b8f813732595925b845ba3c7fc348f8958fd2c24 100644
--- a/chrome/browser/ui/cocoa/notifications/balloon_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/notifications/balloon_controller_unittest.mm
@@ -31,7 +31,9 @@ namespace {
class MockBalloonCollection : public BalloonCollection {
virtual void Add(const Notification& notification,
Profile* profile) OVERRIDE {}
- virtual bool DoesIdExist(const std::string& id) OVERRIDE { return false; }
+ virtual const Notification* FindById(const std::string& id) const OVERRIDE {
+ return NULL;
+ }
virtual bool RemoveById(const std::string& id) OVERRIDE { return false; }
virtual bool RemoveBySourceOrigin(const GURL& origin) OVERRIDE {
return false;
« no previous file with comments | « chrome/browser/ui/ash/screenshot_taker_unittest.cc ('k') | chrome/common/extensions/api/notifications.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698