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

Unified Diff: chrome/browser/notifications/notification_ui_manager_impl.cc

Issue 10021026: [Mac] Implement a NotificationUIManager that uses Notification Center on 10.8 for text notifications (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 8 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/notifications/notification_ui_manager_impl.cc
diff --git a/chrome/browser/notifications/notification_ui_manager_impl.cc b/chrome/browser/notifications/notification_ui_manager_impl.cc
index cdecd85bee793f40ef3aaceeab7af455cbfb84d7..dfe12fae6fd9bdfd6aca3270913df780f02edcd3 100644
--- a/chrome/browser/notifications/notification_ui_manager_impl.cc
+++ b/chrome/browser/notifications/notification_ui_manager_impl.cc
@@ -64,22 +64,6 @@ NotificationUIManagerImpl::~NotificationUIManagerImpl() {
#endif
}
-// static
-NotificationUIManager* NotificationUIManager::Create(PrefService* local_state) {
- return Create(local_state, BalloonCollection::Create());
-}
-
-// static
-NotificationUIManager* NotificationUIManager::Create(
- PrefService* local_state,
- BalloonCollection* balloons) {
- NotificationUIManagerImpl* instance =
- new NotificationUIManagerImpl(local_state);
- instance->Initialize(balloons);
- balloons->set_space_change_listener(instance);
- return instance;
-}
-
void NotificationUIManagerImpl::Initialize(
BalloonCollection* balloon_collection) {
DCHECK(!balloon_collection_.get());

Powered by Google App Engine
This is Rietveld 408576698