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

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: Fix trybots 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
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..8b0f2df60ec2f9e94ad85f1aaccd63d2e7c4a2b0 100644
--- a/chrome/browser/ui/cocoa/notifications/balloon_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/notifications/balloon_controller_unittest.mm
@@ -31,7 +31,10 @@ 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 bool DoesIdExist(const std::string& id,
+ Notification* matched_notification) OVERRIDE {
+ return false;
+ }
virtual bool RemoveById(const std::string& id) OVERRIDE { return false; }
virtual bool RemoveBySourceOrigin(const GURL& origin) OVERRIDE {
return false;

Powered by Google App Engine
This is Rietveld 408576698