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

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

Issue 1128173005: Clean up ProfileManager interface. Base URL: https://chromium.googlesource.com/chromium/src@issue479309
Patch Set: sync Created 5 years, 7 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
« no previous file with comments | « chrome/browser/metrics/extensions_metrics_provider.cc ('k') | chrome/browser/profiles/avatar_menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/notification_ui_manager_android.cc
diff --git a/chrome/browser/notifications/notification_ui_manager_android.cc b/chrome/browser/notifications/notification_ui_manager_android.cc
index 85455f15c943911fdb9ccf9edc0bf7d8260efe1a..bfe88441a59a837bcc3afad1f8006fcf88c09ea8 100644
--- a/chrome/browser/notifications/notification_ui_manager_android.cc
+++ b/chrome/browser/notifications/notification_ui_manager_android.cc
@@ -67,7 +67,7 @@ bool NotificationUIManagerAndroid::OnNotificationClicked(
// appropriate one for this notification, the used profile should be
// stored as part of the notification's data. See https://crbug.com/437574.
PlatformNotificationServiceImpl::GetInstance()->OnPersistentNotificationClick(
- ProfileManager::GetLastUsedProfile(),
+ g_browser_process->profile_manager()->GetLastUsedProfile(),
persistent_notification_id,
origin);
@@ -90,7 +90,7 @@ bool NotificationUIManagerAndroid::OnNotificationClosed(
// appropriate one for this notification, the used profile should be
// stored as part of the notification's data. See https://crbug.com/437574.
PlatformNotificationServiceImpl::GetInstance()->OnPersistentNotificationClose(
- ProfileManager::GetLastUsedProfile(),
+ g_browser_process->profile_manager()->GetLastUsedProfile(),
persistent_notification_id,
origin);
« no previous file with comments | « chrome/browser/metrics/extensions_metrics_provider.cc ('k') | chrome/browser/profiles/avatar_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698