diff options
Diffstat (limited to 'chrome/browser/notifications/balloon_collection.h')
-rw-r--r-- | chrome/browser/notifications/balloon_collection.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/chrome/browser/notifications/balloon_collection.h b/chrome/browser/notifications/balloon_collection.h index 2d75686..499b937 100644 --- a/chrome/browser/notifications/balloon_collection.h +++ b/chrome/browser/notifications/balloon_collection.h @@ -9,13 +9,11 @@ #pragma once #include <deque> -#include <string> #include "base/callback.h" #include "base/scoped_ptr.h" class Balloon; -class GURL; class Notification; class Profile; @@ -46,13 +44,9 @@ class BalloonCollection { virtual void Add(const Notification& notification, Profile* profile) = 0; - // Removes any balloons that have this notification id. Returns + // Removes a balloon from the collection if present. Returns // true if anything was removed. - virtual bool RemoveById(const std::string& id) = 0; - - // Removes any balloons that have this source origin. Returns - // true if anything was removed. - virtual bool RemoveBySourceOrigin(const GURL& source_origin) = 0; + virtual bool Remove(const Notification& notification) = 0; // Is there room to add another notification? virtual bool HasSpace() const = 0; |