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

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

Issue 561813002: Move the logic for creating data: URLs out of DesktopNotificationService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/desktop_notification_service_factory.cc
diff --git a/chrome/browser/notifications/desktop_notification_service_factory.cc b/chrome/browser/notifications/desktop_notification_service_factory.cc
index c5e3e51fa0abfc9d272cdcb94db380db843fe596..4d8351ca8736dcfb05d48ce9ffff2be65d4fd62f 100644
--- a/chrome/browser/notifications/desktop_notification_service_factory.cc
+++ b/chrome/browser/notifications/desktop_notification_service_factory.cc
@@ -37,9 +37,9 @@ DesktopNotificationServiceFactory::~DesktopNotificationServiceFactory() {
}
KeyedService* DesktopNotificationServiceFactory::BuildServiceInstanceFor(
- content::BrowserContext* profile) const {
+ content::BrowserContext* context) const {
DesktopNotificationService* service =
- new DesktopNotificationService(static_cast<Profile*>(profile), NULL);
+ new DesktopNotificationService(static_cast<Profile*>(context));
return service;
}
« no previous file with comments | « chrome/browser/notifications/desktop_notification_service_factory.h ('k') | chrome/browser/notifications/notification.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698