| 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 0a17cebc48d30b6b38eea9cc2c351814491cc9e5..bebfe5fb409fc2274575597e7feb27b81a34afa3 100644
|
| --- a/chrome/browser/ui/cocoa/notifications/balloon_controller_unittest.mm
|
| +++ b/chrome/browser/ui/cocoa/notifications/balloon_controller_unittest.mm
|
| @@ -33,18 +33,23 @@ namespace {
|
| // Use a dummy balloon collection for testing.
|
| class MockBalloonCollection : public BalloonCollection {
|
| virtual void Add(const Notification& notification,
|
| - Profile* profile) {}
|
| - virtual bool DoesIdExist(const std::string& id) { return false; }
|
| - 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) {}
|
| - virtual void DisplayChanged() {}
|
| - virtual void SetPositionPreference(PositionPreference preference) {}
|
| - virtual void OnBalloonClosed(Balloon* source) {};
|
| - virtual const Balloons& GetActiveBalloons() {
|
| + Profile* profile) OVERRIDE {}
|
| + virtual bool DoesIdExist(const std::string& id) OVERRIDE { return false; }
|
| + virtual bool RemoveById(const std::string& id) OVERRIDE { return false; }
|
| + virtual bool RemoveBySourceOrigin(const GURL& origin) OVERRIDE {
|
| + return false;
|
| + }
|
| + virtual bool RemoveByProfile(Profile* profile) OVERRIDE { return false; }
|
| + virtual void RemoveAll() OVERRIDE {}
|
| + virtual bool HasSpace() const OVERRIDE { return true; }
|
| + virtual void ResizeBalloon(
|
| + Balloon* balloon,
|
| + const gfx::Size& size) OVERRIDE {
|
| + }
|
| + virtual void DisplayChanged() OVERRIDE {}
|
| + virtual void SetPositionPreference(PositionPreference preference) OVERRIDE {}
|
| + virtual void OnBalloonClosed(Balloon* source) OVERRIDE {};
|
| + virtual const Balloons& GetActiveBalloons() OVERRIDE {
|
| NOTREACHED();
|
| return balloons_;
|
| }
|
|
|