refactor: NotificationPresenter::Create() returns a std::unique_ptr<> (#43806)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
08579bdcd5
commit
2bc8797fed
5 changed files with 14 additions and 14 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue