DescriptionMove the logic for creating data: URLs out of DesktopNotificationService.
This code is only used by the Notification constructor, and doesn't have
to be a public method on a class that's otherwise unrelated to it.
Also get rid of caching the UI manager in the service. All callsites of
the constructor passed in NULL, and BrowserProcess::notification_ui_manager()
actually does the caching for us.
TBR=jochen
BUG=
Committed: https://crrev.com/b1f28c8f2c486bf5891a56dd3af00fe93b0a30d3
Cr-Commit-Position: refs/heads/master@{#294414}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Also get rid of GetUIManager() #
Total comments: 2
Patch Set 3 : #
Messages
Total messages: 12 (3 generated)
|