refactor: NotificationPresenter::Create() returns a std::unique_ptr<> (#43794)

This commit is contained in:
Charles Kerr 2024-09-19 19:02:49 -05:00 committed by GitHub
parent 855f219301
commit d100921289
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 14 additions and 14 deletions

View file

@ -5,6 +5,7 @@
#ifndef ELECTRON_SHELL_BROWSER_NOTIFICATIONS_NOTIFICATION_PRESENTER_H_
#define ELECTRON_SHELL_BROWSER_NOTIFICATIONS_NOTIFICATION_PRESENTER_H_
#include <memory>
#include <set>
#include <string>
@ -17,7 +18,7 @@ class NotificationDelegate;
class NotificationPresenter {
public:
static NotificationPresenter* Create();
static std::unique_ptr<NotificationPresenter> Create();
virtual ~NotificationPresenter();