| Index: chrome/browser/notifications/notification_ui_manager.h | 
| =================================================================== | 
| --- chrome/browser/notifications/notification_ui_manager.h	(revision 65581) | 
| +++ chrome/browser/notifications/notification_ui_manager.h	(working copy) | 
| @@ -7,6 +7,7 @@ | 
| #pragma once | 
|  | 
| #include <deque> | 
| +#include <string> | 
|  | 
| #include "base/id_map.h" | 
| #include "base/scoped_ptr.h" | 
| @@ -43,9 +44,13 @@ | 
| virtual void Add(const Notification& notification, | 
| Profile* profile); | 
|  | 
| -  // Removes a notification. | 
| -  virtual bool Cancel(const Notification& notification); | 
| +  // Removes any notifications matching the supplied ID. | 
| +  virtual bool CancelById(const std::string& notification_id); | 
|  | 
| +  // Removes any notifications matching the supplied source origin | 
| +  // (which could be an extension ID). | 
| +  virtual bool CancelAllBySourceOrigin(const GURL& source_origin); | 
| + | 
| // Returns balloon collection. | 
| BalloonCollection* balloon_collection() { | 
| return balloon_collection_.get(); | 
|  |