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

Unified Diff: chrome/browser/notifications/profile_notification.h

Issue 1005393003: [Download Notification] Use NotificationUIManager instead of MessageCenter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Do not stop ongoing download when closed and Add the "Cancel" button Created 5 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/profile_notification.h
diff --git a/chrome/browser/notifications/profile_notification.h b/chrome/browser/notifications/profile_notification.h
index 13952333e2ec142ee3496ea563793f6974cc4eba..73267ad5b4f8fdba9431031ff3c90d4137d0d202 100644
--- a/chrome/browser/notifications/profile_notification.h
+++ b/chrome/browser/notifications/profile_notification.h
@@ -28,6 +28,11 @@ class ProfileNotification {
const Notification& notification() const { return notification_; }
private:
+ friend class MessageCenterNotificationManager;
+ void CopyNotificationState(message_center::Notification* base) {
+ notification_.CopyState(base);
+ }
Jun Mukai 2015/04/08 00:13:19 Similarly this isn't necessary anymore. # state ou
yoshiki 2015/04/08 00:54:05 Removed.
+
// Weak, guaranteed not to be used after profile removal by parent class.
Profile* profile_;

Powered by Google App Engine
This is Rietveld 408576698