Chromium Code Reviews| Index: chrome/browser/notifications/profile_notification.cc |
| diff --git a/chrome/browser/notifications/profile_notification.cc b/chrome/browser/notifications/profile_notification.cc |
| index 745820a2ee5862b857b3f778540eab4c2b540b5a..9e9ef3afc7134b787da9847629c52cbde34df6b2 100644 |
| --- a/chrome/browser/notifications/profile_notification.cc |
| +++ b/chrome/browser/notifications/profile_notification.cc |
| @@ -18,16 +18,13 @@ std::string ProfileNotification::GetProfileNotificationId( |
| delegate_id.c_str()); |
| } |
| -ProfileNotification::ProfileNotification( |
| - Profile* profile, |
| - const Notification& notification) |
| - : profile_(profile), |
| +ProfileNotification::ProfileNotification(ProfileID profile, |
|
dewittj
2015/05/27 18:22:39
nit: s/profile/profile_id/
Deepak
2015/05/28 05:37:08
Done.
|
| + const Notification& notification) |
| + : profile_id_(profile), |
| notification_( |
| // Uses Notification's copy constructor to assign the message center |
| // id, which should be unique for every profile + Notification pair. |
| - GetProfileNotificationId( |
| - notification.delegate_id(), |
| - NotificationUIManager::GetProfileID(profile)), |
| + GetProfileNotificationId(notification.delegate_id(), profile), |
| notification) { |
| DCHECK(profile); |
| #if defined(OS_CHROMEOS) |